summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-12-02 12:26:55 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-12-02 12:26:55 +0000
commit431c478df9797c803a6c37b35f09988dc6c8ff7d (patch)
treeb093b32cda0ca90c9eee7d7b720bcb482ac807e2 /src/gallium/auxiliary
parent27ba2eb33b83a3596e96dbd791d86d118617df26 (diff)
util: C++ safe.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_surface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.h b/src/gallium/auxiliary/util/u_surface.h
index 6b82e14aeca..6a7cc82b055 100644
--- a/src/gallium/auxiliary/util/u_surface.h
+++ b/src/gallium/auxiliary/util/u_surface.h
@@ -32,6 +32,12 @@
#include "pipe/p_compiler.h"
#include "pipe/p_state.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern void
u_surface_default_template(struct pipe_surface *view,
const struct pipe_resource *texture,
@@ -76,4 +82,9 @@ util_clear_depth_stencil(struct pipe_context *pipe,
unsigned width, unsigned height);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* U_SURFACE_H */