OpenGL2: Direct state access, part 2: Uniforms.
This commit is contained in:
1 parent
275317fefb
commit
f70e9dac01
7 files changed
+147
-78
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user