summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xlib_softpipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/xlib/xlib_softpipe.c')
-rw-r--r--src/gallium/winsys/xlib/xlib_softpipe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/xlib_softpipe.c b/src/gallium/winsys/xlib/xlib_softpipe.c
index f53d8e02f4e..2a8bd4681e6 100644
--- a/src/gallium/winsys/xlib/xlib_softpipe.c
+++ b/src/gallium/winsys/xlib/xlib_softpipe.c
@@ -707,7 +707,11 @@ xlib_create_cell_winsys( void )
struct pipe_screen *
xlib_create_cell_screen( struct pipe_winsys *pws )
{
+#ifdef GALLIUM_CELL
return cell_create_screen( pws );
+#else
+ return NULL;
+#endif
}