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
parent 800e1c9e09
commit fe6fb55389
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 );