From 159c8baeef6ae5f6c991ceb6df80d8b1e81ee611 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 13 Jun 2015 11:27:06 +0200 Subject: [PATCH] Do framebuffer download color conversion using the CPU on old nVidias. May fix issue 228 in the native project. --- GPU/GLES/Framebuffer.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index 9a70d73425..28f620e3d3 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -1140,12 +1140,14 @@ inline bool FramebufferManager::ShouldDownloadUsingCPU(const VirtualFramebuffer // Some cards or drivers seem to always dither when downloading a framebuffer to 16-bit. // This causes glitches in games that expect the exact values. // It has not been experienced on NVIDIA cards, so those are left using the GPU (which is faster.) - if (g_Config.iRenderingMode == FB_BUFFERED_MODE && gl_extensions.gpuVendor != GPU_VENDOR_NVIDIA) { - useCPU = true; + if (g_Config.iRenderingMode == FB_BUFFERED_MODE) { + if (gl_extensions.gpuVendor != GPU_VENDOR_NVIDIA || gl_extensions.ver[0] < 3) { + useCPU = true; + } } return useCPU; #else - return true; + return true; #endif }