projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e15f0c
)
radeon: silence unused var warnings
author
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 22:54:34 +0000
(15:54 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 10 Nov 2011 23:00:46 +0000
(16:00 -0700)
src/mesa/drivers/dri/radeon/radeon_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index c866aef0f1b982614f385a5a578e657e99b4242b..6e814934eaa7d5640955dc92d3a86d6a9e8bbd0e 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texture.c
@@
-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;