summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_etc.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-01-16 10:54:41 -0700
committerBrian Paul <brianp@vmware.com>2012-01-24 14:12:10 -0700
commitbd3c10c0f0c60ab3421c2da2eab814edc2296cb0 (patch)
tree936f9ce4cafba10935227e75169bc6b7a8675cfc /src/mesa/main/texcompress_etc.c
parentecb8594c184f5daa2f5a735e42ee24e7d110aa9f (diff)
downloadexternal_mesa3d-bd3c10c0f0c60ab3421c2da2eab814edc2296cb0.zip
external_mesa3d-bd3c10c0f0c60ab3421c2da2eab814edc2296cb0.tar.gz
external_mesa3d-bd3c10c0f0c60ab3421c2da2eab814edc2296cb0.tar.bz2
swrast: s/Data/Map/ in swrast_texture_image
To indicate that it points to mapped texture memory.
Diffstat (limited to 'src/mesa/main/texcompress_etc.c')
-rw-r--r--src/mesa/main/texcompress_etc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c
index 4d3b857..5b331a9 100644
--- a/src/mesa/main/texcompress_etc.c
+++ b/src/mesa/main/texcompress_etc.c
@@ -58,7 +58,7 @@ _mesa_fetch_texel_2d_f_etc1_rgb8(const struct swrast_texture_image *texImage,
GLubyte dst[3];
const GLubyte *src;
- src = (const GLubyte *) texImage->Data +
+ src = (const GLubyte *) texImage->Map +
(((texImage->RowStride + 3) / 4) * (j / 4) + (i / 4)) * 8;
etc1_parse_block(&block, src);