diff options
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 983f7514c7..189fc3da91 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -497,7 +497,7 @@ class BaseConfig(object): | |||
497 | self.gtk = True | 497 | self.gtk = True |
498 | elif arg == 'gl': | 498 | elif arg == 'gl': |
499 | self.gl = True | 499 | self.gl = True |
500 | elif 'gl-es' in sys.argv[1:]: | 500 | elif arg == 'gl-es': |
501 | self.gl_es = True | 501 | self.gl_es = True |
502 | elif arg == 'egl-headless': | 502 | elif arg == 'egl-headless': |
503 | self.egl_headless = True | 503 | self.egl_headless = True |