summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPFunctions.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-03-11 21:12:06 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-03-12 21:09:16 -0500
commit5b36c13bfb7a9e3c33fb57ad881e65fb8ae223ea (patch)
tree1403654db927f834be21f7ed00b4618a51f3d377 /Source/Core/VideoCommon/BPFunctions.cpp
parentde997d616fb013735bb40a3e0bb945c776bd1a16 (diff)
VideoCommon: Rename Renderer to EFBInterface.
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
-rw-r--r--Source/Core/VideoCommon/BPFunctions.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp
index d813d8b6e3..0b20bcfd8a 100644
--- a/Source/Core/VideoCommon/BPFunctions.cpp
+++ b/Source/Core/VideoCommon/BPFunctions.cpp
@@ -15,8 +15,8 @@
#include "VideoCommon/AbstractFramebuffer.h"
#include "VideoCommon/AbstractGfx.h"
#include "VideoCommon/BPMemory.h"
+#include "VideoCommon/EFBInterface.h"
#include "VideoCommon/FramebufferManager.h"
-#include "VideoCommon/RenderBase.h"
#include "VideoCommon/RenderState.h"
#include "VideoCommon/VertexManagerBase.h"
#include "VideoCommon/VertexShaderManager.h"
@@ -369,12 +369,12 @@ void OnPixelFormatChange()
if (new_format == PixelFormat::RGBA6_Z24)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGB8ToRGBA6);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGB8ToRGBA6);
return;
}
else if (new_format == PixelFormat::RGB565_Z16)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGB8ToRGB565);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGB8ToRGB565);
return;
}
}
@@ -384,12 +384,12 @@ void OnPixelFormatChange()
{
if (new_format == PixelFormat::RGB8_Z24 || new_format == PixelFormat::Z24)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGBA6ToRGB8);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGBA6ToRGB8);
return;
}
else if (new_format == PixelFormat::RGB565_Z16)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGBA6ToRGB565);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGBA6ToRGB565);
return;
}
}
@@ -399,12 +399,12 @@ void OnPixelFormatChange()
{
if (new_format == PixelFormat::RGB8_Z24 || new_format == PixelFormat::Z24)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGB565ToRGB8);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGB565ToRGB8);
return;
}
else if (new_format == PixelFormat::RGBA6_Z24)
{
- g_renderer->ReinterpretPixelData(EFBReinterpretType::RGB565ToRGBA6);
+ g_efb_interface->ReinterpretPixelData(EFBReinterpretType::RGB565ToRGBA6);
return;
}
}