set ProgramShaderCache program format correctly.

This commit is contained in:
Shawn Hoffman
2012-01-18 10:22:03 -08:00
committed by Sonicadvance1
parent 10666a9b87
commit 1a8005d948
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);