diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-10 10:56:51 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-10 11:10:58 +0000 |
commit | 6b707667c853c6c0ded3715050a01cfdbd4883c2 (patch) | |
tree | 4eeeba43bc33a23139123f0229427b920db95140 /src/gallium/state_trackers/python | |
parent | de27e272f42f8f453588edbcb98f3e510dad869b (diff) |
python: Handle the possibility that no driver is selected.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rw-r--r-- | src/gallium/state_trackers/python/st_softpipe_winsys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/st_softpipe_winsys.c b/src/gallium/state_trackers/python/st_softpipe_winsys.c index cd3e786f1a..985374190c 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(); |