diff options
author | José Fonseca <[email protected]> | 2010-12-02 12:26:55 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-12-02 12:26:55 +0000 |
commit | 431c478df9797c803a6c37b35f09988dc6c8ff7d (patch) | |
tree | b093b32cda0ca90c9eee7d7b720bcb482ac807e2 /src/gallium | |
parent | 27ba2eb33b83a3596e96dbd791d86d118617df26 (diff) |
util: C++ safe.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/util/u_surface.h | 11 |
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 */ |