diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-15 21:03:59 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-15 21:04:58 +0000 |
commit | 3eb4b7bbecc013f25a9d77b50c745514350f99f9 (patch) | |
tree | fef7e402a4cc6a56f132d147aa6323a1975fe716 | |
parent | 8e848d682e74f9ae3e105635fe55d19ed8c94547 (diff) | |
download | external_mesa3d-3eb4b7bbecc013f25a9d77b50c745514350f99f9.zip external_mesa3d-3eb4b7bbecc013f25a9d77b50c745514350f99f9.tar.gz external_mesa3d-3eb4b7bbecc013f25a9d77b50c745514350f99f9.tar.bz2 |
libgl-xlib: Obey GALLIUM_SOFTPIPE define.
-rw-r--r-- | 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; |