Module: Mesa
Branch: master
Commit: 3eb4b7bbecc013f25a9d77b50c745514350f99f9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb4b7bbecc013f25a9d77b50c745514350f99f9

Author: José Fonseca <[email protected]>
Date:   Mon Mar 15 21:03:59 2010 +0000

libgl-xlib: Obey GALLIUM_SOFTPIPE define.

---

 src/gallium/targets/libgl-xlib/xlib.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/targets/libgl-xlib/xlib.c 
b/src/gallium/targets/libgl-xlib/xlib.c
index 05dc8db..5bb6c5c 100644
--- a/src/gallium/targets/libgl-xlib/xlib.c
+++ b/src/gallium/targets/libgl-xlib/xlib.c
@@ -81,8 +81,10 @@ swrast_xlib_create_screen( Display *display )
       screen = llvmpipe_create_screen( winsys );
 #endif
 
+#if defined(GALLIUM_SOFTPIPE)
    if (screen == NULL)
       screen = softpipe_create_screen( winsys );
+#endif
 
    if (screen == NULL)
       goto fail;

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

Reply via email to