projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dri/radeon: test for FEATURE defines
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
radeon
/
radeon_texture.c
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texture.c
b/src/mesa/drivers/dri/radeon/radeon_texture.c
index d2b190e42e0ec2e46e50aefd1cbedc2a4525266d..8c6a50d2f0df824da5dff8c7cc16a41c6a3d40bd 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texture.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texture.c
@@
-551,7
+551,7
@@
gl_format radeonChooseTextureFormat(GLcontext * ctx,
case GL_SRGB8_ALPHA8:
case GL_COMPRESSED_SRGB:
case GL_COMPRESSED_SRGB_ALPHA:
case GL_SRGB8_ALPHA8:
case GL_COMPRESSED_SRGB:
case GL_COMPRESSED_SRGB_ALPHA:
- return MESA_FORMAT_S
RGBA
8;
+ return MESA_FORMAT_S
ARGB
8;
case GL_SLUMINANCE:
case GL_SLUMINANCE8:
case GL_SLUMINANCE:
case GL_SLUMINANCE8: