xlib: disable more cell calls when GALLIUM_CELL not defined
authorKeith Whitwell <keithw@vmware.com>
Fri, 9 Jan 2009 14:38:23 +0000 (14:38 +0000)
committerKeith Whitwell <keithw@vmware.com>
Fri, 9 Jan 2009 14:38:23 +0000 (14:38 +0000)
src/gallium/winsys/xlib/xlib_softpipe.c

index f53d8e02f4e28f28eee749497692bc1e69c7c972..2a8bd4681e669852590cd0f8687aac4870b3ff62 100644 (file)
@@ -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
 }