From: José Fonseca Date: Mon, 15 Mar 2010 21:03:59 +0000 (+0000) Subject: libgl-xlib: Obey GALLIUM_SOFTPIPE define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3eb4b7bbecc013f25a9d77b50c745514350f99f9;p=mesa.git libgl-xlib: Obey GALLIUM_SOFTPIPE define. --- 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;