Fix menu corruption on IRIX (#5097), patch by Rainer Canavan

This commit is contained in:
Thilo Schulz 2011-07-29 11:42:57 +00:00
parent 2349148cf1
commit 1ea7ab1f42

View file

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