r300-gallium: C++ compat fix.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 5 Mar 2009 16:41:04 +0000 (08:41 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Thu, 5 Mar 2009 16:41:30 +0000 (08:41 -0800)
Oops. :3

src/gallium/drivers/r300/r300_winsys.h

index 8c9578de51420e2cf54629e6d52e914d664e3186..baa95282c3365614b24fac88c5f490bb58d281f2 100644 (file)
@@ -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 */