More "stuff" for SS, also a small fix in the program shader cache cache setup."

This commit is contained in:
Ryan Houdek
2012-10-09 23:56:00 -05:00
committed by Sonicadvance1
parent 71f6b1eec6
commit eb7a0c485a
3 changed files with 25 additions and 14 deletions
@@ -78,6 +78,8 @@ 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);