From a1a9858ca31e47b1e567b2ba94ffbf01c20231a6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 6 Apr 2006 16:23:40 +0000 Subject: [PATCH] update a couple MESA_FORMAT_Zxxx occurances --- src/mesa/drivers/dri/i915/i915_texstate.c | 4 ++-- 1 file 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; -- 2.30.2