From 93afa779453e69951b168e8ecb7b6ddef53eb8b0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Dec 2008 08:01:03 -0700 Subject: cell: fix build breakage --- src/gallium/winsys/xlib/xm_winsys_aub.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/winsys') diff --git a/src/gallium/winsys/xlib/xm_winsys_aub.c b/src/gallium/winsys/xlib/xm_winsys_aub.c index b7c10b6bca..56e16a0fb4 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 } -- cgit v1.2.3