Add in the Windows fix.

This commit is contained in:
Ryan Houdek
2012-10-09 23:43:22 -05:00
committed by Sonicadvance1
parent ee529b7125
commit c4e7a288e5
@@ -212,9 +212,10 @@ namespace OGL
GLint Supported;
glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &Supported);
GLint Formats[Supported];
GLint *Formats = new GLint[Supported];
glGetIntegerv(GL_PROGRAM_BINARY_FORMATS, Formats);
ProgramFormat = (GLenum)Formats[0]; // We don't really care about format
delete[] Formats;
}
#endif
}