summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-05-19 03:08:45 +0200
committerRoland Scheidegger <[email protected]>2007-05-19 03:56:06 +0200
commit54cab4b47b380d5cf5dde6524fa34f40ee3b275d (patch)
treef11d679a78216bd462d2c1e1e3a5445f8be14b3e /src/mesa
parentc093666bc57dd9afead69256eaf05fbe4f6beecb (diff)
fix copy & paste bug of previous commit, breaking dxt5 formats
Diffstat (limited to 'src/mesa')
-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 46f49e74e5a..98ddc796724 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: