From 75aac1b49665b471a4da79de95441c625923f18f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 9 Jan 2009 14:38:23 +0000 Subject: xlib: disable more cell calls when GALLIUM_CELL not defined --- src/gallium/winsys/xlib/xlib_softpipe.c | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- cgit v1.2.3