diff --git a/src/gallium/auxiliary/target-helpers/sw_helper.h b/src/gallium/auxiliary/target-helpers/sw_helper.h index 030f61528d9..65fadc481ab 100644 --- a/src/gallium/auxiliary/target-helpers/sw_helper.h +++ b/src/gallium/auxiliary/target-helpers/sw_helper.h @@ -39,7 +39,7 @@ sw_screen_create_named(struct sw_winsys *winsys, const struct pipe_screen_config struct pipe_screen *screen = NULL; #if defined(GALLIUM_LLVMPIPE) - if (screen == NULL && (strcmp(driver, "llvmpipe") == 0 || !driver[0])) + if (screen == NULL && strcmp(driver, "llvmpipe") == 0) screen = llvmpipe_create_screen(winsys); #endif