summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex_format.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-21 20:02:33 -0600
committerBrian Paul <brianp@vmware.com>2009-10-21 20:02:33 -0600
commit68d94a608a6d46156a567b8f0e011ac58054975e (patch)
treeb122f1882afbcea647449d3c2c040d6aaaf9e132 /src/mesa/drivers/dri/intel/intel_tex_format.c
parent4bd70b5cff13039a4b0e0c554156fec06e3c3906 (diff)
intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions
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 a71590d3ef1..eca0f6d5723 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_format.c
@@ -153,7 +153,7 @@ intelChooseTextureFormat(GLcontext * ctx, GLint internalFormat,
#endif
case GL_DEPTH_STENCIL_EXT:
case GL_DEPTH24_STENCIL8_EXT:
- return MESA_FORMAT_Z24_S8;
+ return MESA_FORMAT_S8_Z24;
#ifndef I915
case GL_SRGB_EXT: