diff --git a/code/renderer/tr_backend.c b/code/renderer/tr_backend.c index 3a55f7d1..3fd07f54 100644 --- a/code/renderer/tr_backend.c +++ b/code/renderer/tr_backend.c @@ -445,11 +445,6 @@ 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 @@ -470,6 +465,11 @@ void RB_BeginDrawingView (void) { } qglClear( clearBits ); + // + // set the modelview matrix for the viewer + // + SetViewportAndScissor(); + if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) ) { RB_Hyperspace();