From a87fd89fce2c154a546c1a7a6aa325fab4f50493 Mon Sep 17 00:00:00 2001 From: degasus Date: Thu, 17 Jan 2013 12:36:20 +0100 Subject: [PATCH] disable ogl shader cache it doesn't check the shader itself only the id of the shaders. So there are cache mismatch atm --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index dfc7159642..ff554d0276 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -319,7 +319,7 @@ Renderer::Renderer() if (glewIsSupported("GL_ARB_uniform_buffer_object")) g_Config.backend_info.bSupportsGLSLUBO = true; if (glewIsSupported("GL_ARB_get_program_binary")) - g_Config.backend_info.bSupportsGLSLCache = true; + g_Config.backend_info.bSupportsGLSLCache = false;//TODO: revert this after cache is fixed itself UpdateActiveConfig(); OSD::AddMessage(StringFromFormat("Supports Blending: %s UBOs: %s Cache: %s",