summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.cpp
diff options
context:
space:
mode:
authormagumagu <magumagu9@gmail.com>2014-04-16 18:10:33 -0700
committermagumagu <magumagu9@gmail.com>2014-05-16 18:55:31 -0700
commit8f5342c442c8e78784b4ea7002250781ba768767 (patch)
tree061f1813280a80d999425369f001f019e310c33b /Source/Core/VideoCommon/VertexLoader.cpp
parent818c89313e54bcf3de98b976c0da57c88a8588d2 (diff)
Video backend: merge global var xfmem into xfregs.
There isn't really any reason to keep them separate.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp
index 5b99174822..fc8b2771a1 100644
--- a/Source/Core/VideoCommon/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/VertexLoader.cpp
@@ -217,7 +217,7 @@ void LOADERDECL UpdateBoundingBox()
// We need to get the raw projection values for the bounding box calculation
// to work properly. That means, no projection hacks!
const float * const orig_point = s_bbox_vertex_buffer;
- const float * const world_matrix = (float*)xfmem.posMatrices + s_curposmtx * 4;
+ const float * const world_matrix = (float*)xfregs.posMatrices + s_curposmtx * 4;
const float * const proj_matrix = xfregs.projection.rawProjection;
// Transform by world matrix