summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BoundingBox.cpp
diff options
context:
space:
mode:
authorcrudelios <crudelios@gmail.com>2014-09-16 20:18:15 +0100
committercrudelios <crudelios@gmail.com>2014-10-10 12:28:13 +0100
commit47c67f014f9f882e27e29203eab97dc3c7753f6a (patch)
treed1516749bc49ce3eecea7442a4b1def630506209 /Source/Core/VideoCommon/BoundingBox.cpp
parent2d4b7e3f3f67f48ec2fb3d8eb8b2af3b70e4afcc (diff)
Fix linux build and various warnings.
Increase savestate version.
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
-rw-r--r--Source/Core/VideoCommon/BoundingBox.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp
index b76db60dab..c919dfe161 100644
--- a/Source/Core/VideoCommon/BoundingBox.cpp
+++ b/Source/Core/VideoCommon/BoundingBox.cpp
@@ -93,8 +93,6 @@ void LOADERDECL Update()
if (g_VtxDesc.Normal != NOT_PRESENT)
{
// Feed normal input data and transform
- myVat.g0.NormalIndex3;
-
memcpy((u8 *)myVertex.normal, bufferPos + vertexDecl.normals[0].offset, sizeof(float) * 3 * ((myVat.g0.NormalElements) ? 3 : 1));
TransformUnit::TransformNormal(&myVertex, myVat.g0.NormalElements, outVertex);