diff options
| author | degasus <wickmarkus@web.de> | 2014-11-13 23:26:49 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-11-17 21:20:32 +0100 |
| commit | c211450b997effa6d91059fb0aaa564892297719 (patch) | |
| tree | fabbfdf698d6e499c53dec988d4b7ba2ef6556bc /Source/Core/VideoCommon/PixelEngine.cpp | |
| parent | dced84d4404b1f0346297c5941bfdf94cfdef4d5 (diff) | |
OGL: implement bounding box support with ssbo
This implemention tries to be as accurate as the old SW implemention, but it will remove the dependcy of our vertexloader on videosw.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelEngine.cpp | 2 |
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>() ); |
