aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/i915_texstate.c
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2008-03-14 11:39:08 +0800
committerXiang, Haihao <[email protected]>2008-03-14 11:50:11 +0800
commitf94d317d7aea8043b179a0ba64308606375500d7 (patch)
tree331f36f644685b9b93b7195c3e63f1e25bf87cfb /src/mesa/drivers/dri/i915/i915_texstate.c
parent142fcd3a13bcac37b8b0124f68854d515f2596fc (diff)
intel: fix abort issue with shadowtex demo when use
DEPTH_STENCIL texture. (bug#14952).
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_texstate.c')
-rw-r--r--src/mesa/drivers/dri/i915/i915_texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_texstate.c b/src/mesa/drivers/dri/i915/i915_texstate.c
index 1c45fd5dcd5..ba420932870 100644
--- a/src/mesa/drivers/dri/i915/i915_texstate.c
+++ b/src/mesa/drivers/dri/i915/i915_texstate.c
@@ -74,7 +74,7 @@ translate_texture_format(GLuint mesa_format)
case MESA_FORMAT_RGBA_DXT5:
return (MAPSURF_COMPRESSED | MT_COMPRESS_DXT4_5);
case MESA_FORMAT_Z24_S8:
- return (MAPSURF_32BIT | MT_32BIT_xL824);
+ return (MAPSURF_32BIT | MT_32BIT_xI824);
default:
fprintf(stderr, "%s: bad image format %x\n", __FUNCTION__, mesa_format);
abort();