r300-gallium: Don't bother with conditional double define.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 1 May 2009 11:47:50 +0000 (04:47 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Fri, 1 May 2009 11:47:50 +0000 (04:47 -0700)
We'll just forever leave it in r300_winsys.h since it's needed for
whichever winsys is hosting the pipe.

src/gallium/drivers/r300/r300_context.h

index 4c695c1..6f62998 100644 (file)
@@ -314,11 +314,4 @@ struct draw_stage* r300_draw_stage(struct r300_context* r300);
 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 r300_winsys* r300_winsys);
-#endif
-
 #endif /* R300_CONTEXT_H */