diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-11 21:12:06 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-12 21:09:16 -0500 |
| commit | 5b36c13bfb7a9e3c33fb57ad881e65fb8ae223ea (patch) | |
| tree | 1403654db927f834be21f7ed00b4618a51f3d377 /Source/Core/VideoCommon/BPFunctions.cpp | |
| parent | de997d616fb013735bb40a3e0bb945c776bd1a16 (diff) | |
VideoCommon: Rename Renderer to EFBInterface.
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPFunctions.cpp | 14 |
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; } } |
