cell: compile fix: no-op xlib_create_brw_screen() for Cell build
authorBrian Paul <brianp@vmware.com>
Sat, 7 Feb 2009 20:02:27 +0000 (13:02 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 7 Feb 2009 20:02:27 +0000 (13:02 -0700)
src/gallium/winsys/xlib/xlib_brw_screen.c

index 51740a9af6472cc889f077cb34ee9f12d9d7264f..8e1bfab2f5607e6c2828a26af8fff622a9021b6d 100644 (file)
@@ -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;
 }