mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-28 06:52:35 +00:00
Fix menu corruption on IRIX (#5097), patch by Rainer Canavan
This commit is contained in:
parent
2349148cf1
commit
1ea7ab1f42
1 changed files with 5 additions and 5 deletions
|
@ -445,11 +445,6 @@ void RB_BeginDrawingView (void) {
|
||||||
// 2D images again
|
// 2D images again
|
||||||
backEnd.projection2D = qfalse;
|
backEnd.projection2D = qfalse;
|
||||||
|
|
||||||
//
|
|
||||||
// set the modelview matrix for the viewer
|
|
||||||
//
|
|
||||||
SetViewportAndScissor();
|
|
||||||
|
|
||||||
// ensures that depth writes are enabled for the depth clear
|
// ensures that depth writes are enabled for the depth clear
|
||||||
GL_State( GLS_DEFAULT );
|
GL_State( GLS_DEFAULT );
|
||||||
// clear relevant buffers
|
// clear relevant buffers
|
||||||
|
@ -470,6 +465,11 @@ void RB_BeginDrawingView (void) {
|
||||||
}
|
}
|
||||||
qglClear( clearBits );
|
qglClear( clearBits );
|
||||||
|
|
||||||
|
//
|
||||||
|
// set the modelview matrix for the viewer
|
||||||
|
//
|
||||||
|
SetViewportAndScissor();
|
||||||
|
|
||||||
if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) )
|
if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) )
|
||||||
{
|
{
|
||||||
RB_Hyperspace();
|
RB_Hyperspace();
|
||||||
|
|
Loading…
Reference in a new issue