summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/i915_texstate.c4
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 87eddfecde..3b639e7144 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;