Fix (#5312) introduced by rev 2103

This commit is contained in:
Thilo Schulz 2012-05-04 15:59:52 +00:00
parent ccdb11315b
commit d2b035eb73

View file

@ -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
@ -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();