mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Make sure not to try and bind UBO locations when it isn't supported
This commit is contained in:

committed by
Sonicadvance1

parent
7f12daa014
commit
076c1a5aa7
@ -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.bSupportsGLSLBinding)
|
||||
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