summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2011-12-09 17:30:05 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2011-12-09 17:30:05 -0600
commit8e5bb59cb692bae1bf4a94797a7c153e9bbd2d3d (patch)
tree4c3f7bce56c03e85d49e97f497f30a7660654296 /Source/Core/VideoCommon/Src/VertexShaderManager.cpp
parent9119399547b44f9c9068fa52812a9e90ab367d8d (diff)
Add in UBOs, doesn't work yet. Still debugging here.
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexShaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
index 2b962c5a6b..5a12392ed2 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
@@ -173,7 +173,7 @@ void VertexShaderManager::Dirty()
// TODO: A cleaner way to control the matricies without making a mess in the parameters field
void VertexShaderManager::SetConstants()
{
- if (g_ActiveConfig.bUseGLSL)
+ if (g_ActiveConfig.bUseGLSL && !g_ActiveConfig.backend_info.bSupportsGLSLUBO)
Dirty();
if (nTransformMatricesChanged[0] >= 0)
{