diff options
author | Brian Paul <[email protected]> | 2006-04-06 16:23:40 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-04-06 16:23:40 +0000 |
commit | a1a9858ca31e47b1e567b2ba94ffbf01c20231a6 (patch) | |
tree | d4e9518fff1fb2c3b4b883d48efda1a24af974bb /src | |
parent | e099ce85ca5b30c9eb04f751fe54bdb7dae4a5d2 (diff) |
update a couple MESA_FORMAT_Zxxx occurances
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_texstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_texstate.c b/src/mesa/drivers/dri/i915/i915_texstate.c index 87eddfecdef..3b639e71443 100644 --- a/src/mesa/drivers/dri/i915/i915_texstate.c +++ b/src/mesa/drivers/dri/i915/i915_texstate.c @@ -456,7 +456,7 @@ static void i915SetTexImages( i915ContextPtr i915, textureFormat = (MAPSURF_COMPRESSED | MT_COMPRESS_FXT1); break; - case MESA_FORMAT_DEPTH_COMPONENT16: + case MESA_FORMAT_Z16: t->intel.texelBytes = 2; textureFormat = (MAPSURF_16BIT | MT_16BIT_L16); break; @@ -483,7 +483,7 @@ static void i915SetTexImages( i915ContextPtr i915, break; #if 0 - case MESA_FORMAT_DEPTH_COMPONENT_X8Z24: + case MESA_FORMAT_Z24_S8: t->intel.texelBytes = 4; textureFormat = (MAPSURF_32BIT | MT_32BIT_xL824); break; |