summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-08 01:01:26 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-08 01:01:26 -0800
commitea3398cf3395fd36ac6edc717f2680361ac5e239 (patch)
tree78f4c01d13b6392e925f5001fe464d107e6e4522 /src/gallium/drivers/r300/r300_context.h
parent19a1bc8270cbb8fd62a440d2132c699de74182c2 (diff)
r300: Update to match pipe_surface changes.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index fb91c172f4..376c57639d 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -179,8 +179,12 @@ static struct r300_context* r300_context(struct pipe_context* context) {
void r300_init_state_functions(struct r300_context* r300);
void r300_init_surface_functions(struct r300_context* r300);
+/* Fun with includes: r300_winsys also declares this prototype.
+ * We'll just step out in that case... */
+#ifndef R300_WINSYS_H
struct pipe_context* r300_create_context(struct pipe_screen* screen,
struct pipe_winsys* winsys,
struct r300_winsys* r300_winsys);
+#endif
#endif /* R300_CONTEXT_H */