summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-05-19 03:08:45 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-05-19 03:08:45 +0200
commit25551bdfad8541337a4e59e7e3764fa9b876cb19 (patch)
treee84501e3cbaac0ba26faf5829e2a13ab00391be7 /src/mesa/drivers
parent28f53ace336706912fda6cc6877f72bffdcae330 (diff)
fix copy & paste bug of previous commit, breaking dxt5 formats
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex.c b/src/mesa/drivers/dri/i915/intel_tex.c
index 46f49e74e5..98ddc79672 100644
--- a/src/mesa/drivers/dri/i915/intel_tex.c
+++ b/src/mesa/drivers/dri/i915/intel_tex.c
@@ -652,6 +652,7 @@ static void intelUploadTexImage( intelContextPtr intel,
case GL_RGBA_S3TC:
case GL_RGBA4_S3TC:
case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT:
+ case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT:
row_len = (image->Width * 4 + 15) & ~15;
break;
default: