aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-19 08:01:03 -0700
committerBrian Paul <[email protected]>2008-12-19 08:01:53 -0700
commit93afa779453e69951b168e8ecb7b6ddef53eb8b0 (patch)
tree0bc5dd60d68fc62bd001bb716bb26a8558770b09
parent663d6a0fe31c6e973df3a2827cfb88fe69d88d8a (diff)
cell: fix build breakage
-rw-r--r--src/gallium/winsys/xlib/xm_winsys_aub.c4
1 files changed, 4 insertions, 0 deletions
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
}