X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Ftexcompress_fxt1.h;h=bd84082e9ed3ea2b5eca208d94d680025cd39e8b;hb=986a9bb1806174b70b756165ece555856a705dfb;hp=d63ca71e212b7ef32968828e30da94a6921b3bac;hpb=11522b74b318db9d099466ff226124c23595e8e2;p=mesa.git diff --git a/src/mesa/main/texcompress_fxt1.h b/src/mesa/main/texcompress_fxt1.h index d63ca71e212..bd84082e9ed 100644 --- a/src/mesa/main/texcompress_fxt1.h +++ b/src/mesa/main/texcompress_fxt1.h @@ -25,9 +25,12 @@ #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 */