Mesa (master): r300-gallium: C++ compat fix.

Corbin Simpson csimpson at kemper.freedesktop.org
Thu Mar 5 16:41:39 UTC 2009


Module: Mesa
Branch: master
Commit: df8755edbedd6b0c85886db1b627f564c5a1beec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df8755edbedd6b0c85886db1b627f564c5a1beec

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Mar  5 08:41:04 2009 -0800

r300-gallium: C++ compat fix.

Oops. :3

---

 src/gallium/drivers/r300/r300_winsys.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index 8c9578d..baa9528 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -88,12 +88,12 @@ struct r300_winsys {
 struct pipe_context* r300_create_context(struct pipe_screen* screen,
                                          struct r300_winsys* r300_winsys);
 
-#ifdef __cplusplus
-}
-#endif
-
 boolean r300_get_texture_buffer(struct pipe_texture* texture,
                                 struct pipe_buffer** buffer,
                                 unsigned* stride);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* R300_WINSYS_H */




More information about the mesa-commit mailing list