Mesa (master): r300-gallium: Don't bother with conditional double define.

Corbin Simpson csimpson at kemper.freedesktop.org
Fri May 1 13:40:59 UTC 2009


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Fri May  1 04:47:50 2009 -0700

r300-gallium: Don't bother with conditional double define.

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 |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 4c695c1..6f62998 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -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 */




More information about the mesa-commit mailing list