summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-11-19 20:25:23 -0500
committercomex <comexk@gmail.com>2014-11-19 20:25:23 -0500
commitfb50cb6d99062069a71db49d56d975df5c6eecb3 (patch)
treeb0a9615bcaa4d5d4efa65e590ff3b0e500391f6b /Source/Core/VideoCommon/PixelEngine.cpp
parentdd2c8c49b37360f8b8838ccdb323a84eae00e065 (diff)
parentc211450b997effa6d91059fb0aaa564892297719 (diff)
Merge pull request #1550 from degasus/bbox
OGL: implement bounding box support with ssbo
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp
index 7fd8e12a39..f6bc26186a 100644
--- a/Source/Core/VideoCommon/PixelEngine.cpp
+++ b/Source/Core/VideoCommon/PixelEngine.cpp
@@ -233,7 +233,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
mmio->Register(base | (PE_BBOX_LEFT + 2 * i),
MMIO::ComplexRead<u16>([i](u32) {
BoundingBox::active = false;
- return BoundingBox::coords[i];
+ return g_video_backend->Video_GetBoundingBox(i);
}),
MMIO::InvalidWrite<u16>()
);