summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/VertexManager.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-01-21 10:03:05 +0100
committerdegasus <wickmarkus@web.de>2014-01-21 10:03:05 +0100
commitfe02833f1376bee079b16f7e093d548e1666bddf (patch)
tree9e0cb70a2ce76f32b0dc6616481f3cd27d968296 /Source/Core/VideoBackends/OGL/VertexManager.cpp
parent8b2c54054414f17fdc4ab0d8fb988f02f189e74e (diff)
OpenGL: fix our ubo workaround when blend_func_extended is missing
Diffstat (limited to 'Source/Core/VideoBackends/OGL/VertexManager.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/VertexManager.cpp3
1 files changed, 1 insertions, 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