mesa: silence MSVC double/float assignment warnings in pixel unpack code
[mesa.git] / src / mesa / main / texformat.h
index bda5fd6d8ce24f1cdb455bb692a11aeec6742da9..71af9ca223e36f1281e5e30c5f4a5acd26a0af5e 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,
-                         GLenum format, GLenum type );
+_mesa_choose_tex_format(struct gl_context *ctx, GLenum target,
+                        GLint internalFormat, GLenum format, GLenum type);
 
 
 #endif