From: Brian Paul Date: Fri, 19 Dec 2008 15:01:03 +0000 (-0700) Subject: cell: fix build breakage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93afa779453e69951b168e8ecb7b6ddef53eb8b0;p=mesa.git cell: fix build breakage --- diff --git a/src/gallium/winsys/xlib/xm_winsys_aub.c b/src/gallium/winsys/xlib/xm_winsys_aub.c index b7c10b6bcae..56e16a0fb41 100644 --- a/src/gallium/winsys/xlib/xm_winsys_aub.c +++ b/src/gallium/winsys/xlib/xm_winsys_aub.c @@ -560,6 +560,9 @@ static void aub_i965_buffer_subdata_typed(struct brw_winsys *winsys, struct pipe_context * xmesa_create_i965simple( struct pipe_winsys *winsys ) { +#ifdef GALLIUM_CELL + return NULL; +#else struct aub_brw_winsys *iws = CALLOC_STRUCT( aub_brw_winsys ); struct pipe_screen *screen = brw_create_screen(winsys, 0/* XXX pci_id */); @@ -583,4 +586,5 @@ xmesa_create_i965simple( struct pipe_winsys *winsys ) return brw_create( screen, &iws->winsys, 0 ); +#endif }