diff options
| author | degasus <wickmarkus@web.de> | 2014-07-08 22:37:58 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-07-11 16:10:20 +0200 |
| commit | 7e79806efcd5c5e41efea89fa385b480ac1882f5 (patch) | |
| tree | 57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (diff) | |
remove unused globals
Also change globals into statics which are only used in one file
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index e248a83604..4087554716 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -51,7 +51,6 @@ static int loop_counter; // Vertex loaders read these. Although the scale ones should be baked into the shader. int tcIndex; int colIndex; -TVtxAttr* pVtxAttr; int colElements[2]; float posScale; float tcScale[8]; @@ -837,7 +836,6 @@ void VertexLoader::SetupRunVertices(int vtx_attr_group, int primitive, int const m_VtxAttr.texCoord[6].Frac = g_VtxAttr[vtx_attr_group].g2.Tex6Frac; m_VtxAttr.texCoord[7].Frac = g_VtxAttr[vtx_attr_group].g2.Tex7Frac; - pVtxAttr = &m_VtxAttr; posScale = fractionTable[m_VtxAttr.PosFrac]; if (m_NativeFmt->m_components & VB_HAS_UVALL) for (int i = 0; i < 8; i++) |
