From 6b707667c853c6c0ded3715050a01cfdbd4883c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 10 Mar 2010 10:56:51 +0000 Subject: [PATCH] python: Handle the possibility that no driver is selected. --- src/gallium/state_trackers/python/st_softpipe_winsys.c | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.30.2