From 878f24a53089049d19609bb878226aafda00d5fc Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Wed, 3 Aug 2011 18:55:04 +0000 Subject: [PATCH] IOQ3 commit 2103 --- reaction/code/renderer/tr_backend.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reaction/code/renderer/tr_backend.c b/reaction/code/renderer/tr_backend.c index 8db7025a..6f3b24fb 100644 --- a/reaction/code/renderer/tr_backend.c +++ b/reaction/code/renderer/tr_backend.c @@ -545,11 +545,6 @@ void RB_BeginDrawingView (void) { // 2D images again backEnd.projection2D = qfalse; - // - // set the modelview matrix for the viewer - // - SetViewportAndScissor(); - if (glState.currentFBO && !(backEnd.refdef.rdflags & RDF_NOWORLDMODEL)) { fbo_t* old = R_FBO_Bind(tr.fbo.full[1]); @@ -586,6 +581,11 @@ void RB_BeginDrawingView (void) { qglClear( clearBits ); + // + // set the modelview matrix for the viewer + // + SetViewportAndScissor(); + if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) ) { RB_Hyperspace();