diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/renderergl2/tr_backend.c | 3 | ||||
-rw-r--r-- | src/renderergl2/tr_init.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/renderergl2/tr_backend.c b/src/renderergl2/tr_backend.c index 4810ba2d..28fb13c9 100644 --- a/src/renderergl2/tr_backend.c +++ b/src/renderergl2/tr_backend.c @@ -539,9 +539,6 @@ void RB_BeginDrawingView (void) { backEnd.isHyperspace = qfalse; } - glState.faceCulling = -1; // force face culling to set next time - glState.faceCullFront = -1; // same as above - // we will only draw a sun if there was sky rendered in this view backEnd.skyRenderedThisView = qfalse; diff --git a/src/renderergl2/tr_init.c b/src/renderergl2/tr_init.c index 4a7f127f..dcb37d2c 100644 --- a/src/renderergl2/tr_init.c +++ b/src/renderergl2/tr_init.c @@ -874,6 +874,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); |