From 3eb4b7bbecc013f25a9d77b50c745514350f99f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 15 Mar 2010 21:03:59 +0000 Subject: [PATCH] libgl-xlib: Obey GALLIUM_SOFTPIPE define. --- src/gallium/targets/libgl-xlib/xlib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/targets/libgl-xlib/xlib.c b/src/gallium/targets/libgl-xlib/xlib.c index 05dc8db57d9..5bb6c5c38ce 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; -- 2.30.2