diff options
| author | skidau <skidau@gmail.com> | 2014-10-13 15:57:11 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-10-13 15:57:11 +1100 |
| commit | 9551650c42d8e256043a5783ba3b7b3aa18e350d (patch) | |
| tree | f30a28dd869b18a02b01e6b5a59d2ecb07fe9a04 /Source/Core/VideoBackends/Software/EfbInterface.cpp | |
| parent | 01f1768c5560bae74f5a3f527a591b17bf60a9cf (diff) | |
| parent | 1e3b9ecdc143ec9a45fb6a4df3f26578e88ec371 (diff) | |
Merge pull request #1095 from crudelios/sw-bbox
Reimplement Bounding Box calculation using the software renderer.
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/EfbInterface.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index 8afae35bd8..172dd5ae23 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -437,12 +437,6 @@ namespace EfbInterface { SetPixelAlphaOnly(offset, dstClrPtr[ALP_C]); } - - // branchless bounding box update - PixelEngine::bbox[0] = std::min(x, PixelEngine::bbox[0]); - PixelEngine::bbox[1] = std::max(x, PixelEngine::bbox[1]); - PixelEngine::bbox[2] = std::min(y, PixelEngine::bbox[2]); - PixelEngine::bbox[3] = std::max(y, PixelEngine::bbox[3]); } void SetColor(u16 x, u16 y, u8 *color) |
