mesa: better debug messages in _mesa_test_texobj_completeness()
[mesa.git] / src / mesa / main / texcompress_fxt1.h
index d63ca71e212b7ef32968828e30da94a6921b3bac..bd84082e9ed3ea2b5eca208d94d680025cd39e8b 100644 (file)
 #ifndef TEXCOMPRESS_FXT1_H
 #define TEXCOMPRESS_FXT1_H
 
-#include "main/mtypes.h"
+#include "glheader.h"
+#include "mfeatures.h"
 #include "texstore.h"
 
+struct swrast_texture_image;
+
 #if FEATURE_texture_fxt1
 
 extern GLboolean
@@ -37,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 */