Add a GUI option to use GLSL shaders. Also fix a small typo.
This commit is contained in:
1 parent
076c1a5aa7
commit
7aad45658e
2 files changed
+13
-1
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user