svga: always link with C++
[mesa.git] / src / mesa / main / texformat.h
index 8bd1507675343755d94d134d31c6f9ebb8a1e96e..71af9ca223e36f1281e5e30c5f4a5acd26a0af5e 100644 (file)
 #define TEXFORMAT_H
 
 
-#include "mtypes.h"
 #include "formats.h"
 
+struct gl_context;
 
 extern gl_format
-_mesa_choose_tex_format( struct gl_context *ctx, GLint internalFormat,
-                         GLenum format, GLenum type );
+_mesa_choose_tex_format(struct gl_context *ctx, GLenum target,
+                        GLint internalFormat, GLenum format, GLenum type);
 
 
 #endif