mesa: Clean up header file inclusion in texobj.h.
[mesa.git] / src / mesa / main / texformat.h
index 0711b67da139ab6be09a47dcaaf6df5f0fdd7e12..3cf09213ac49725435754599e94c6e4d9b283469 100644 (file)
 #define TEXFORMAT_H
 
 
-#include "mtypes.h"
 #include "formats.h"
 
+struct gl_context;
 
 extern gl_format
-_mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat,
+_mesa_choose_tex_format( struct gl_context *ctx, GLint internalFormat,
                          GLenum format, GLenum type );
 
 
-extern void
-_mesa_format_to_type_and_comps(gl_format format,
-                               GLenum *datatype, GLuint *comps);
-
 #endif