From: Brian Paul Date: Sat, 7 Feb 2009 20:02:27 +0000 (-0700) Subject: cell: compile fix: no-op xlib_create_brw_screen() for Cell build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b59117a697ac168da9dacb922d491449fe591264;p=mesa.git cell: compile fix: no-op xlib_create_brw_screen() for Cell build --- diff --git a/src/gallium/winsys/xlib/xlib_brw_screen.c b/src/gallium/winsys/xlib/xlib_brw_screen.c index 51740a9af64..8e1bfab2f56 100644 --- a/src/gallium/winsys/xlib/xlib_brw_screen.c +++ b/src/gallium/winsys/xlib/xlib_brw_screen.c @@ -325,6 +325,7 @@ xlib_create_brw_winsys( void ) static struct pipe_screen * xlib_create_brw_screen( void ) { +#ifndef GALLIUM_CELL struct pipe_winsys *winsys; struct pipe_screen *screen; @@ -342,6 +343,7 @@ fail: if (winsys) winsys->destroy( winsys ); +#endif return NULL; }