mesa/main: fix inverted condition
[mesa.git] / src / mesa / main / vtxfmt.h
index 4301c4277898a6224d8b3161cc305f86f235f8a8..20fc466701951eb79e7547c7947696a16457e043 100644 (file)
@@ -1,13 +1,12 @@
 /**
  * \file vtxfmt.h
  * 
- * \author Keith Whitwell <keith@tungstengraphics.com>
+ * \author Keith Whitwell <keithw@vmware.com>
  * \author Gareth Hughes
  */
 
 /*
  * Mesa 3-D graphics library
- * Version:  6.1
  *
  * Copyright (C) 1999-2004  Brian Paul   All Rights Reserved.
  *
 #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_ */