diff options
author | Jakob Bornecrantz <[email protected]> | 2008-06-18 01:45:21 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2008-06-18 01:48:24 +0200 |
commit | 081c05605f1c308c35fcf4168aac09fbf3c0a108 (patch) | |
tree | 3ba92749d87e16b5f6fc959cfaffff223667be1a /src | |
parent | a1524162bf838920ad965cd44ead97da29408e50 (diff) |
i915: Fix for s8_z24 textures not being shown
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_state_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state_sampler.c b/src/gallium/drivers/i915simple/i915_state_sampler.c index fbdc1a3b68c..24440843f33 100644 --- a/src/gallium/drivers/i915simple/i915_state_sampler.c +++ b/src/gallium/drivers/i915simple/i915_state_sampler.c @@ -212,7 +212,7 @@ translate_texture_format(enum pipe_format pipeFormat) return (MAPSURF_COMPRESSED | MT_COMPRESS_DXT4_5); #endif case PIPE_FORMAT_S8Z24_UNORM: - return (MAPSURF_32BIT | MT_32BIT_xL824); + return (MAPSURF_32BIT | MT_32BIT_xI824); default: debug_printf("i915: translate_texture_format() bad image format %x\n", pipeFormat); |