From 5d8b2032ee94b72ea4c6c75f0c8e2de42b24239d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 24 Jan 2004 22:46:06 +0000 Subject: [PATCH] quiet warning --- stepmania/src/RageDisplay_OGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index 1e37e4414b..80bfd35182 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -1274,7 +1274,7 @@ unsigned RageDisplay_OGL::CreateTexture( // HACK: OpenGL 1.2 types aren't available in GLU 1.3. Don't call GLU for mip // mapping if we're using an OGL 1.2 type and don't have >= GLU 1.3. // http://pyopengl.sourceforge.net/documentation/manual/gluBuild2DMipmaps.3G.html - if( g_gluVersion < 13 ) + if( bGenerateMipMaps && g_gluVersion < 13 ) { switch( pixfmt ) {