summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/renderergl1/tr_surface.c1
-rw-r--r--src/renderergl2/tr_surface.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/renderergl1/tr_surface.c b/src/renderergl1/tr_surface.c
index bf3e5856..d357d9cd 100644
--- a/src/renderergl1/tr_surface.c
+++ b/src/renderergl1/tr_surface.c
@@ -1158,6 +1158,7 @@ Draws x/y/z lines from the origin for orientation debugging
*/
static void RB_SurfaceAxis( void ) {
GL_Bind( tr.whiteImage );
+ GL_State( GLS_DEFAULT );
qglLineWidth( 3 );
qglBegin( GL_LINES );
qglColor3f( 1,0,0 );
diff --git a/src/renderergl2/tr_surface.c b/src/renderergl2/tr_surface.c
index 601501b5..2d71ba1a 100644
--- a/src/renderergl2/tr_surface.c
+++ b/src/renderergl2/tr_surface.c
@@ -1516,6 +1516,7 @@ static void RB_SurfaceAxis( void ) {
// FIXME: implement this
#if 0
GL_Bind( tr.whiteImage );
+ GL_State( GLS_DEFAULT );
qglLineWidth( 3 );
qglBegin( GL_LINES );
qglColor3f( 1,0,0 );