From: José Fonseca Date: Wed, 10 Mar 2010 10:56:51 +0000 (+0000) Subject: python: Handle the possibility that no driver is selected. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b707667c853c6c0ded3715050a01cfdbd4883c2;p=mesa.git python: Handle the possibility that no driver is selected. --- diff --git a/src/gallium/state_trackers/python/st_softpipe_winsys.c b/src/gallium/state_trackers/python/st_softpipe_winsys.c index cd3e786f1a6..985374190c3 100644 --- a/src/gallium/state_trackers/python/st_softpipe_winsys.c +++ b/src/gallium/state_trackers/python/st_softpipe_winsys.c @@ -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();