From 765d551554d18ca685aeaf5a0f99bcb1f1a444de Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 8 Oct 2013 08:01:00 -0500 Subject: Revert "5097 - Menu corrupted on start (on IRIX)" Calling glClear( any bits ) in GL_SetDefaultState makes connect screen black using the proprietary NVidia driver on Windows and GNU/Linux. This reverts commit 92573270de98a20cd78842bd2043cfe07bc5b2e1. --- src/renderergl1/tr_init.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/renderergl1') diff --git a/src/renderergl1/tr_init.c b/src/renderergl1/tr_init.c index 8e0cb655..80b645ab 100644 --- a/src/renderergl1/tr_init.c +++ b/src/renderergl1/tr_init.c @@ -800,16 +800,6 @@ void GL_SetDefaultState( void ) qglEnable( GL_SCISSOR_TEST ); qglDisable( GL_CULL_FACE ); qglDisable( GL_BLEND ); - - qglColorMask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE ); - qglClearColor( 0.0f, 0.0f, 0.0f, 1.0f ); - qglClearDepth( 1.0 ); - - qglDrawBuffer( GL_FRONT ); - qglClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_ACCUM_BUFFER_BIT|GL_STENCIL_BUFFER_BIT ); - - qglDrawBuffer( GL_BACK ); - qglClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_ACCUM_BUFFER_BIT|GL_STENCIL_BUFFER_BIT ); } /* -- cgit