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

This commit is contained in:
Ryan Houdek 2011-12-09 17:30:05 -06:00
parent 9119399547
commit 8e5bb59cb6
12 changed files with 138 additions and 49 deletions

View file

@ -85,7 +85,7 @@ void PixelShaderManager::Shutdown()
void PixelShaderManager::SetConstants()
{
if (g_ActiveConfig.bUseGLSL)
if (g_ActiveConfig.bUseGLSL && !g_ActiveConfig.backend_info.bSupportsGLSLUBO)
Dirty();
for (int i = 0; i < 2; ++i)
{