From 7ea70ab1b338de056707b663d8e9d1c39d519c35 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 13 Mar 2004 07:33:40 +0000 Subject: [PATCH] fix errors due to weird goto init rules --- stepmania/src/RageDisplay_OGL.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageDisplay_OGL.cpp b/stepmania/src/RageDisplay_OGL.cpp index f823bc9c3e..23f04a3aec 100644 --- a/stepmania/src/RageDisplay_OGL.cpp +++ b/stepmania/src/RageDisplay_OGL.cpp @@ -468,11 +468,11 @@ static void CheckPalettedTextures( bool LowColor ) } /* Check to see if paletted textures really work. */ - GLenum glTexFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].internalfmt; - GLenum glImageFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].format; - GLenum glImageType = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].type; + GLenum glTexFormat; glTexFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].internalfmt; + GLenum glImageFormat; glImageFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].format; + GLenum glImageType; glImageType = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].type; - int bits = 8; + int bits; bits = 8; if( LowColor ) {