python: Handle the possibility that no driver is selected.

This commit is contained in:
José Fonseca
2010-03-10 10:56:51 +00:00
parent de27e272f4
commit 6b707667c8

View File

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