OpenGL2: Direct state access, part 2: Uniforms.

This commit is contained in:
SmileTheory committed 2016-01-18 23:30:36 -08:00
1 parent 275317fefb
commit f70e9dac01
7 files changed
+147 -78

No files matched your search

+1 -2
View File
@@ -974,8 +974,7 @@ void GL_SetDefaultState( void )
glState.faceCulling = CT_TWO_SIDED;
glState.faceCullFront = qtrue;
glState.currentProgram = 0;
qglUseProgramObjectARB(0);
GL_BindNullProgram();
if (glRefConfig.vertexArrayObject)
qglBindVertexArrayARB(0);