diff options
author | Xiang, Haihao <[email protected]> | 2008-09-04 11:35:15 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2008-09-04 11:36:04 +0800 |
commit | 0adfd1021035e90995a25ec5f20b736e55075d92 (patch) | |
tree | 4e4f702ef253d136ddc0cf20341f288822ed80e5 /src/mesa/drivers/dri/i915 | |
parent | 218df7f9c53db90abf3a6590f77c8e9e49aeedf5 (diff) |
intel: Fix depth_stencil texture.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_texstate.c | 2 |
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 69c1e0755ef..1b1122cd8aa 100644 --- a/src/mesa/drivers/dri/i915/i915_texstate.c +++ b/src/mesa/drivers/dri/i915/i915_texstate.c @@ -78,7 +78,7 @@ translate_texture_format(GLuint mesa_format, GLenum DepthMode) return (MAPSURF_COMPRESSED | MT_COMPRESS_DXT2_3); case MESA_FORMAT_RGBA_DXT5: return (MAPSURF_COMPRESSED | MT_COMPRESS_DXT4_5); - case MESA_FORMAT_Z24_S8: + case MESA_FORMAT_S8_Z24: return (MAPSURF_32BIT | MT_32BIT_xI824); default: fprintf(stderr, "%s: bad image format %x\n", __FUNCTION__, mesa_format); |