summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_fxt1.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-09-17 14:50:48 -0600
committerBrian Paul <brianp@vmware.com>2011-09-17 14:57:40 -0600
commita1661dc8957a35899d653e9fffd97f166c56be56 (patch)
tree0662287501323357f391c31dae72a01edd824ec3 /src/mesa/main/texcompress_fxt1.h
parent20177a620ef123ae7cdbc7252fd41a48f5b76acc (diff)
downloadexternal_mesa3d-a1661dc8957a35899d653e9fffd97f166c56be56.zip
external_mesa3d-a1661dc8957a35899d653e9fffd97f166c56be56.tar.gz
external_mesa3d-a1661dc8957a35899d653e9fffd97f166c56be56.tar.bz2
mesa: move gl_texture_image::FetchTexel fields to swrast
This also involves passing swrast_texture_image instead of gl_texture_image into all the fetch functions.
Diffstat (limited to 'src/mesa/main/texcompress_fxt1.h')
-rw-r--r--src/mesa/main/texcompress_fxt1.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/texcompress_fxt1.h b/src/mesa/main/texcompress_fxt1.h
index b991f4c..bd84082 100644
--- a/src/mesa/main/texcompress_fxt1.h
+++ b/src/mesa/main/texcompress_fxt1.h
@@ -29,7 +29,7 @@
#include "mfeatures.h"
#include "texstore.h"
-struct gl_texture_image;
+struct swrast_texture_image;
#if FEATURE_texture_fxt1
@@ -40,11 +40,11 @@ extern GLboolean
_mesa_texstore_rgba_fxt1(TEXSTORE_PARAMS);
extern void
-_mesa_fetch_texel_2d_f_rgba_fxt1(const struct gl_texture_image *texImage,
+_mesa_fetch_texel_2d_f_rgba_fxt1(const struct swrast_texture_image *texImage,
GLint i, GLint j, GLint k, GLfloat *texel);
extern void
-_mesa_fetch_texel_2d_f_rgb_fxt1(const struct gl_texture_image *texImage,
+_mesa_fetch_texel_2d_f_rgb_fxt1(const struct swrast_texture_image *texImage,
GLint i, GLint j, GLint k, GLfloat *texel);
#else /* FEATURE_texture_fxt1 */