diff options
author | José Fonseca <[email protected]> | 2010-03-15 21:03:59 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-15 21:04:58 +0000 |
commit | 3eb4b7bbecc013f25a9d77b50c745514350f99f9 (patch) | |
tree | fef7e402a4cc6a56f132d147aa6323a1975fe716 /src/gallium/targets/libgl-xlib | |
parent | 8e848d682e74f9ae3e105635fe55d19ed8c94547 (diff) |
libgl-xlib: Obey GALLIUM_SOFTPIPE define.
Diffstat (limited to 'src/gallium/targets/libgl-xlib')
-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 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; |