From: Corbin Simpson Date: Fri, 1 May 2009 11:47:50 +0000 (-0700) Subject: r300-gallium: Don't bother with conditional double define. X-Git-Tag: 062012170305~16521^2~491 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a609f78cf688c97eda8cde3d876397e042fdb60d;p=profile%2Fivi%2Fmesa.git 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. --- 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 */