aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/programopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/programopt.h')
-rw-r--r--mesalib/src/mesa/program/programopt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/programopt.h b/mesalib/src/mesa/program/programopt.h
index f22109fb4..93c00f740 100644
--- a/mesalib/src/mesa/program/programopt.h
+++ b/mesalib/src/mesa/program/programopt.h
@@ -28,6 +28,12 @@
#include "main/mtypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern void
_mesa_insert_mvp_code(struct gl_context *ctx, struct gl_vertex_program *vprog);
@@ -52,4 +58,8 @@ extern void
_mesa_nop_vertex_program(struct gl_context *ctx, struct gl_vertex_program *prog);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* PROGRAMOPT_H */