mesa/main: clean up extension-check for GL_SAMPLE_MASK
[mesa.git] / src / mesa / main / vtxfmt.h
index 34ade8905550817c520fdae1b7d6cb0bebd07b8d..20fc466701951eb79e7547c7947696a16457e043 100644 (file)
 #ifndef _VTXFMT_H_
 #define _VTXFMT_H_
 
-#include "compiler.h"
-#include "mtypes.h"
+#include "dd.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct gl_context;
 
 extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
 extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
 extern void _mesa_initialize_vbo_vtxfmt(struct gl_context *ctx);
 
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
 #endif /* _VTXFMT_H_ */