summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex_format.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-09-04 11:35:15 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-09-04 11:36:04 +0800
commit0adfd1021035e90995a25ec5f20b736e55075d92 (patch)
tree4e4f702ef253d136ddc0cf20341f288822ed80e5 /src/mesa/drivers/dri/intel/intel_tex_format.c
parent218df7f9c53db90abf3a6590f77c8e9e49aeedf5 (diff)
intel: Fix depth_stencil texture.
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 349a29bd714..8ae80e16014 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_format.c
@@ -138,7 +138,7 @@ intelChooseTextureFormat(GLcontext * ctx, GLint internalFormat,
case GL_DEPTH_STENCIL_EXT:
case GL_DEPTH24_STENCIL8_EXT:
- return &_mesa_texformat_z24_s8;
+ return &_mesa_texformat_s8_z24;
#ifndef I915
case GL_SRGB_EXT: