From 5b36c13bfb7a9e3c33fb57ad881e65fb8ae223ea Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 11 Mar 2025 21:12:06 -0500 Subject: VideoCommon: Rename Renderer to EFBInterface. --- Source/Core/VideoCommon/BPFunctions.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Source/Core/VideoCommon/BPFunctions.cpp') 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; } } -- cgit v1.2.3