mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
Merge branch 'fix-default-sw' into 'main'
gallium/sw: Fix llvmpipe being chosen when not wanted Closes #13120 See merge request mesa/mesa!37469
This commit is contained in:
commit
7f43a04228
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ sw_screen_create_named(struct sw_winsys *winsys, const struct pipe_screen_config
|
||||||
struct pipe_screen *screen = NULL;
|
struct pipe_screen *screen = NULL;
|
||||||
|
|
||||||
#if defined(GALLIUM_LLVMPIPE)
|
#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);
|
screen = llvmpipe_create_screen(winsys);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue