python: Handle the possibility that no driver is selected.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 10 Mar 2010 10:56:51 +0000 (10:56 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 10 Mar 2010 11:10:58 +0000 (11:10 +0000)
src/gallium/state_trackers/python/st_softpipe_winsys.c

index cd3e786f1a64f2bb0d6669e0934440d4d3929718..985374190c3dd4efc6cb25a90e2ef96ccb70f5c0 100644 (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();