summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/EfbInterface.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-10-13 15:57:11 +1100
committerskidau <skidau@gmail.com>2014-10-13 15:57:11 +1100
commit9551650c42d8e256043a5783ba3b7b3aa18e350d (patch)
treef30a28dd869b18a02b01e6b5a59d2ecb07fe9a04 /Source/Core/VideoBackends/Software/EfbInterface.cpp
parent01f1768c5560bae74f5a3f527a591b17bf60a9cf (diff)
parent1e3b9ecdc143ec9a45fb6a4df3f26578e88ec371 (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.cpp6
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)