summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-15 21:03:59 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-15 21:04:58 +0000
commit3eb4b7bbecc013f25a9d77b50c745514350f99f9 (patch)
treefef7e402a4cc6a56f132d147aa6323a1975fe716 /src/gallium
parent8e848d682e74f9ae3e105635fe55d19ed8c94547 (diff)
libgl-xlib: Obey GALLIUM_SOFTPIPE define.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/targets/libgl-xlib/xlib.c2
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 05dc8db57d..5bb6c5c38c 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;