From fe02833f1376bee079b16f7e093d548e1666bddf Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 21 Jan 2014 10:03:05 +0100 Subject: [PATCH] OpenGL: fix our ubo workaround when blend_func_extended is missing --- Source/Core/VideoBackends/OGL/VertexManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/VertexManager.cpp b/Source/Core/VideoBackends/OGL/VertexManager.cpp index fdd1fbee34..497845890a 100644 --- a/Source/Core/VideoBackends/OGL/VertexManager.cpp +++ b/Source/Core/VideoBackends/OGL/VertexManager.cpp @@ -249,8 +249,7 @@ void VertexManager::vFlush() if (!g_ActiveConfig.backend_info.bSupportsGLSLUBO) { // Need to set these again, if we don't support UBO - VertexShaderManager::SetConstants(); - PixelShaderManager::SetConstants(); + ProgramShaderCache::UploadConstants(); } // only update alpha