Missed a if, don't want people crashing now do we?

This commit is contained in:
Sonicadvance1 2011-12-21 22:33:33 +00:00 committed by Sonicadvance1
parent 9996f27120
commit 7c91476650
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ namespace OGL
glAttachShader(entry.program.glprogid, entry.program.psid);
if (g_ActiveConfig.backend_info.bSupportsGLSLCache)
glProgramParameteri(entry.program.glprogid, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
glLinkProgram(entry.program.glprogid);