projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af3a0c
)
xmesa: do not wrap header inclusion in extern "C"
author
Emil Velikov
<emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:22 +0000
(16:29 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:50 +0000
(17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/x11/xmesa.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xmesa.h
b/src/mesa/drivers/x11/xmesa.h
index b6a2576d49211bdadfb48b71a9278b77812ef54e..cc878e7402eb570044126f1f17259f88858c8b18 100644
(file)
--- a/
src/mesa/drivers/x11/xmesa.h
+++ b/
src/mesa/drivers/x11/xmesa.h
@@
-64,15
+64,15
@@
and create a window, you must do the following to use the X/Mesa interface:
#ifndef XMESA_H
#define XMESA_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "xmesa_x.h"
#include "GL/gl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define XMESA_MAJOR_VERSION 6
#define XMESA_MINOR_VERSION 3