summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.h')
-rw-r--r--src/gallium/auxiliary/util/u_screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.h b/src/gallium/auxiliary/util/u_screen.h
index 65afb277ef3..3952a11f2ca 100644
--- a/src/gallium/auxiliary/util/u_screen.h
+++ b/src/gallium/auxiliary/util/u_screen.h
@@ -24,6 +24,14 @@
struct pipe_screen;
enum pipe_cap;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int
u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
enum pipe_cap param);
+
+#ifdef __cplusplus
+};
+#endif