From bd3c10c0f0c60ab3421c2da2eab814edc2296cb0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jan 2012 10:54:41 -0700 Subject: swrast: s/Data/Map/ in swrast_texture_image To indicate that it points to mapped texture memory. --- src/mesa/main/texcompress_etc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texcompress_etc.c') diff --git a/src/mesa/main/texcompress_etc.c b/src/mesa/main/texcompress_etc.c index 4d3b857cfc3..5b331a92a14 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); -- cgit v1.2.3