projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ba2eb
)
util: C++ safe.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 12:26:55 +0000
(12:26 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 2 Dec 2010 12:26:55 +0000
(12:26 +0000)
src/gallium/auxiliary/util/u_surface.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_surface.h
b/src/gallium/auxiliary/util/u_surface.h
index 6b82e14aeca44973767497aa4901c6cbe7d2830e..6a7cc82b0550710fc1dede3b7c686587b9d7b202 100644
(file)
--- 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 */