OpenGL2: Fix face culling.
This commit is contained in:
parent
fd23249357
commit
8c7fedb1fe
2 changed files with 2 additions and 3 deletions
|
@ -946,6 +946,8 @@ void GL_SetDefaultState( void )
|
|||
//
|
||||
glState.glStateBits = GLS_DEPTHTEST_DISABLE | GLS_DEPTHMASK_TRUE;
|
||||
glState.storedGlState = 0;
|
||||
glState.faceCulling = CT_TWO_SIDED;
|
||||
glState.faceCullFront = qtrue;
|
||||
|
||||
glState.currentProgram = 0;
|
||||
qglUseProgramObjectARB(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue