radeon: silence unused var warnings

This commit is contained in:
Brian Paul
2011-11-10 15:54:34 -07:00
parent 2e15f0c860
commit fe5ba5da7e
+3 -3
View File
@@ -337,13 +337,13 @@ static gl_format radeonChoose8888TexFormat(radeonContextPtr rmesa,
GLenum srcFormat,
GLenum srcType, GLboolean fbo)
{
const GLuint ui = 1;
const GLubyte littleEndian = *((const GLubyte *)&ui);
/* r100 can only do this */
#if defined(RADEON_R100)
return _radeon_texformat_argb8888;
#elif defined(RADEON_R200)
const GLuint ui = 1;
const GLubyte littleEndian = *((const GLubyte *)&ui);
if (fbo)
return _radeon_texformat_argb8888;