diff options
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(); |