summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex_format.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-10-23 17:54:49 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-10-23 17:54:49 +0800
commitb4bf8be5470d54381878bf97750d958281a7c9c3 (patch)
tree35177a66587133bcad506ad84b8ef299a81f3e44 /src/mesa/drivers/dri/intel/intel_tex_format.c
parent6ec4bba0ea07658495f107e772689ecf841aeb11 (diff)
intel: Correct support for GL_BGRA.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_format.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_format.c b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 3322a71130..a734c0db08 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_format.c
@@ -34,7 +34,7 @@ intelChooseTextureFormat(GLcontext * ctx, GLint internalFormat,
case GL_COMPRESSED_RGBA:
if (format == GL_BGRA) {
if (type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_INT_8_8_8_8_REV) {
- return &_mesa_texformat_argb8888;
+ return &_mesa_texformat_argb8888_rev;
}
else if (type == GL_UNSIGNED_SHORT_4_4_4_4_REV) {
return &_mesa_texformat_argb4444;