summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-07 13:02:27 -0700
committerBrian Paul <brianp@vmware.com>2009-02-07 13:02:27 -0700
commitb59117a697ac168da9dacb922d491449fe591264 (patch)
treead1f0a468005fea71296ea843943f03c96903628 /src/gallium/winsys
parent96d230e107abcf4c105e6e7c871124f246763222 (diff)
cell: compile fix: no-op xlib_create_brw_screen() for Cell build
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/xlib/xlib_brw_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/xlib_brw_screen.c b/src/gallium/winsys/xlib/xlib_brw_screen.c
index 51740a9af6..8e1bfab2f5 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;
}