Add in UBOs, doesn't work yet. Still debugging here.

This commit is contained in:
Ryan Houdek committed 2011-12-09 17:30:05 -06:00
1 parent 9119399547
commit 8e5bb59cb6
12 files changed
+138 -49

No files matched your search

@@ -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)
{