diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2012-05-04 15:59:52 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:24:00 +0000 |
commit | 3b12b8a3ad4a7bcba2258076e61db9967b648bbc (patch) | |
tree | 4ec38240ad84d2ca244d8ab216c6a7c5013f1f14 /src/renderer | |
parent | 01d1984f20f4b928f7386689f6fe98beb03df961 (diff) |
Fix (#5312) introduced by rev 2103
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/tr_backend.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/renderer/tr_backend.c b/src/renderer/tr_backend.c index 7e896800..ef391019 100644 --- a/src/renderer/tr_backend.c +++ b/src/renderer/tr_backend.c @@ -446,6 +446,11 @@ void RB_BeginDrawingView (void) { // 2D images again backEnd.projection2D = qfalse; + // + // set the modelview matrix for the viewer + // + SetViewportAndScissor(); + // ensures that depth writes are enabled for the depth clear GL_State( GLS_DEFAULT ); // clear relevant buffers @@ -466,11 +471,6 @@ void RB_BeginDrawingView (void) { } qglClear( clearBits ); - // - // set the modelview matrix for the viewer - // - SetViewportAndScissor(); - if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) ) { RB_Hyperspace(); |