Add a GUI option to use GLSL shaders. Also fix a small typo.

This commit is contained in:
Ryan Houdek 2011-12-16 23:18:24 -06:00 committed by Sonicadvance1
parent 076c1a5aa7
commit 7aad45658e
2 changed files with 13 additions and 1 deletions

View file

@ -101,7 +101,7 @@ namespace OGL
// points statically set in the shader source
// We should only need these two functions when we don't support binding but do support UBO
// Driver Bug? Nvidia GTX 570, 290.xx Driver, Linux x64
if (!g_ActiveConfig.backend_info.bSupportsGLSLUBO)
if (g_ActiveConfig.backend_info.bSupportsGLSLUBO)
{
glUniformBlockBinding( entry.program.glprogid, 0, 1 );
glUniformBlockBinding( entry.program.glprogid, 1, 2 );