From 1161af80594c403233e3d21589af004ee2d75594 Mon Sep 17 00:00:00 2001 From: Techjar Date: Wed, 9 Jun 2021 07:42:21 -0400 Subject: VideoCommon: Abstract bounding box This moves much of the duplicated bounding box code into VideoCommon, leaving only the specific buffer implementations in each backend. --- Source/Core/VideoBackends/Software/Tev.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Software/Tev.cpp') diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp index f8af6325db..1da39f6ca7 100644 --- a/Source/Core/VideoBackends/Software/Tev.cpp +++ b/Source/Core/VideoBackends/Software/Tev.cpp @@ -11,9 +11,9 @@ #include "Common/CommonTypes.h" #include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/EfbInterface.h" +#include "VideoBackends/Software/SWBoundingBox.h" #include "VideoBackends/Software/TextureSampler.h" -#include "VideoCommon/BoundingBox.h" #include "VideoCommon/PerfQueryBase.h" #include "VideoCommon/PixelShaderManager.h" #include "VideoCommon/Statistics.h" @@ -839,7 +839,7 @@ void Tev::Draw() // The GC/Wii GPU rasterizes in 2x2 pixel groups, so bounding box values will be rounded to the // extents of these groups, rather than the exact pixel. - BoundingBox::Update(static_cast(Position[0] & ~1), static_cast(Position[0] | 1), + BBoxManager::Update(static_cast(Position[0] & ~1), static_cast(Position[0] | 1), static_cast(Position[1] & ~1), static_cast(Position[1] | 1)); #if ALLOW_TEV_DUMPS -- cgit v1.2.3