projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef27190
)
st/mesa: allow st_format.h to be included from C++ files
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sat, 9 Jan 2016 06:04:34 +0000
(
01:04
-0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Tue, 16 Feb 2016 03:22:33 +0000
(22:22 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_format.h
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.h
b/src/mesa/state_tracker/st_format.h
index 90e00e8ebf62857ffe81d217f9045c8e096cbc75..3e10aa64bc6a8fa1bcde3ab589a2af929915660b 100644
(file)
--- a/
src/mesa/state_tracker/st_format.h
+++ b/
src/mesa/state_tracker/st_format.h
@@
-36,6
+36,10
@@
#include "pipe/p_defines.h"
#include "pipe/p_format.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
struct pipe_screen;
@@
-77,4
+81,8
@@
st_translate_color(const union gl_color_union *colorIn,
union pipe_color_union *colorOut,
GLenum baseFormat, GLboolean is_integer);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ST_FORMAT_H */