Skip to content

Commit

Permalink
Fix (#5312) introduced by rev 2103
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed May 4, 2012
1 parent ccdb113 commit d2b035e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/renderer/tr_backend.c
Expand Up @@ -445,6 +445,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
Expand All @@ -465,11 +470,6 @@ void RB_BeginDrawingView (void) {
}
qglClear( clearBits );

//
// set the modelview matrix for the viewer
//
SetViewportAndScissor();

if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) )
{
RB_Hyperspace();
Expand Down

0 comments on commit d2b035e

Please sign in to comment.