set ProgramShaderCache program format correctly.

This commit is contained in:
Shawn Hoffman
2012-01-18 10:22:03 -08:00
parent d355ad7055
commit f57f654b59
2 changed files with 4 additions and 3 deletions

View File

@ -78,8 +78,6 @@ public:
// No idea how necessary this is
static GLenum SetProgramFormat()
{
if(!g_ActiveConfig.backend_info.bSupportsGLSLCache)
return 0;
GLint Supported;
glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &Supported);