Missed a if, don't want people crashing now do we?
This commit is contained in:
parent
9996f27120
commit
7c91476650
|
@ -138,7 +138,7 @@ namespace OGL
|
||||||
|
|
||||||
glAttachShader(entry.program.glprogid, entry.program.psid);
|
glAttachShader(entry.program.glprogid, entry.program.psid);
|
||||||
|
|
||||||
|
if (g_ActiveConfig.backend_info.bSupportsGLSLCache)
|
||||||
glProgramParameteri(entry.program.glprogid, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
|
glProgramParameteri(entry.program.glprogid, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
|
||||||
|
|
||||||
glLinkProgram(entry.program.glprogid);
|
glLinkProgram(entry.program.glprogid);
|
||||||
|
|
Loading…
Reference in New Issue