summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib/xlib_softpipe.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-01-09 14:38:23 +0000
committerKeith Whitwell <[email protected]>2009-01-09 14:38:23 +0000
commit75aac1b49665b471a4da79de95441c625923f18f (patch)
tree49d47b490f80cd50a3635e1c4eb901243bf8a0af /src/gallium/winsys/xlib/xlib_softpipe.c
parent93bad7ffa1bde2e56b72ff7f2010e51712b39956 (diff)
xlib: disable more cell calls when GALLIUM_CELL not defined
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
}