diff options
-rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 7eb7a9c7b4..21680b49d2 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -448,6 +448,9 @@ class BaseConfig(object): | |||
448 | logger.setLevel(logging.ERROR) | 448 | logger.setLevel(logging.ERROR) |
449 | sys.argv.remove(quiet) | 449 | sys.argv.remove(quiet) |
450 | 450 | ||
451 | if 'gl' not in sys.argv[1:] and 'gl-es' not in sys.argv[1:]: | ||
452 | os.environ['SDL_RENDER_DRIVER'] = 'software' | ||
453 | |||
451 | unknown_arg = "" | 454 | unknown_arg = "" |
452 | for arg in sys.argv[1:]: | 455 | for arg in sys.argv[1:]: |
453 | if arg in self.fstypes + self.vmtypes + self.wictypes: | 456 | if arg in self.fstypes + self.vmtypes + self.wictypes: |