aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/renderbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/renderbuffer.h')
-rw-r--r--mesalib/src/mesa/main/renderbuffer.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/renderbuffer.h b/mesalib/src/mesa/main/renderbuffer.h
index 5495ae150..c450b33cb 100644
--- a/mesalib/src/mesa/main/renderbuffer.h
+++ b/mesalib/src/mesa/main/renderbuffer.h
@@ -29,6 +29,10 @@
#include "glheader.h"
#include "mtypes.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
struct gl_framebuffer;
struct gl_renderbuffer;
@@ -62,6 +66,8 @@ _mesa_reference_renderbuffer(struct gl_renderbuffer **ptr,
_mesa_reference_renderbuffer_(ptr, rb);
}
-
+#ifdef __cplusplus
+}
+#endif
#endif /* RENDERBUFFER_H */