From f0336a3129ea431862e6e3bf1ccf51a384cf3f57 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Fri, 27 Jan 2023 13:21:09 +1300 Subject: Implement AbstractGfx for OpenGL Mostly involves moving contents of OGLRender to OGLGfx and OGLConfig --- Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp') diff --git a/Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp b/Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp index b0f7139782..d21326c1f5 100644 --- a/Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp +++ b/Source/Core/VideoBackends/OGL/OGLBoundingBox.cpp @@ -3,7 +3,7 @@ #include "VideoBackends/OGL/OGLBoundingBox.h" -#include "VideoBackends/OGL/OGLRender.h" +#include "VideoBackends/OGL/OGLGfx.h" #include "VideoCommon/DriverDetails.h" namespace OGL @@ -35,7 +35,7 @@ std::vector OGLBoundingBox::Read(u32 index, u32 length) // on nVidia drivers. This is more noticeable at higher internal resolutions. // Using glGetBufferSubData instead does not seem to exhibit this slowdown. if (!DriverDetails::HasBug(DriverDetails::BUG_SLOW_GETBUFFERSUBDATA) && - !static_cast(g_renderer.get())->IsGLES()) + !static_cast(g_gfx.get())->IsGLES()) { // We also need to ensure the the CPU does not receive stale values which have been updated by // the GPU. Apparently the buffer here is not coherent on NVIDIA drivers. Not sure if this is a -- cgit v1.2.3