mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 06:28:21 +02:00
python: Handle the possibility that no driver is selected.
This commit is contained in:
parent
de27e272f4
commit
6b707667c8
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ st_software_screen_create(void)
|
|||
default_driver = "llvmpipe";
|
||||
#elif defined(HAVE_SOFTPIPE)
|
||||
default_driver = "softpipe";
|
||||
#else
|
||||
default_driver = "";
|
||||
#endif
|
||||
|
||||
ws = null_sw_create();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue