fix errors due to weird goto init rules
This commit is contained in:
@@ -468,11 +468,11 @@ static void CheckPalettedTextures( bool LowColor )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Check to see if paletted textures really work. */
|
/* Check to see if paletted textures really work. */
|
||||||
GLenum glTexFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].internalfmt;
|
GLenum glTexFormat; glTexFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].internalfmt;
|
||||||
GLenum glImageFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].format;
|
GLenum glImageFormat; glImageFormat = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].format;
|
||||||
GLenum glImageType = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].type;
|
GLenum glImageType; glImageType = GL_PIXFMT_INFO[RageDisplay::FMT_PAL].type;
|
||||||
|
|
||||||
int bits = 8;
|
int bits; bits = 8;
|
||||||
|
|
||||||
if( LowColor )
|
if( LowColor )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user