Browse Source

libgl-xlib: Obey GALLIUM_SOFTPIPE define.

tags/mesa-7.9-rc1
José Fonseca 15 years ago
parent
commit
3eb4b7bbec
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/gallium/targets/libgl-xlib/xlib.c

+ 2
- 0
src/gallium/targets/libgl-xlib/xlib.c View File

@@ -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;

Loading…
Cancel
Save