Module: Mesa
Branch: gallium-xlib-rework
Commit: 75aac1b49665b471a4da79de95441c625923f18f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=75aac1b49665b471a4da79de95441c625923f18f

Author: Keith Whitwell <[email protected]>
Date:   Fri Jan  9 14:38:23 2009 +0000

xlib: disable more cell calls when GALLIUM_CELL not defined

---

 src/gallium/winsys/xlib/xlib_softpipe.c |    4 ++++
 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 f53d8e0..2a8bd46 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
 }
 
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to