OpenGL2: Direct state access, part 2: Uniforms.

This commit is contained in:
SmileTheory 2016-01-18 23:30:36 -08:00
parent 275317fefb
commit f70e9dac01
7 changed files with 147 additions and 78 deletions

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);