Skip to content
Snippets Groups Projects
Commit 8ae65bea authored by Simon McVittie's avatar Simon McVittie
Browse files

launch-options: Set SDL_VIDEO_DRIVER as well as SDL_VIDEODRIVER


SDL 2 uses SDL_VIDEODRIVER, SDL 3 prefers SDL_VIDEO_DRIVER. Having
individual control over the two libraries doesn't seem worth the extra
space taken up in the UI, so set both from the same combo box.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent eb43a8e8
No related branches found
No related tags found
1 merge request!786launch-options: More options for SDL
...@@ -1828,6 +1828,7 @@ class Gui: ...@@ -1828,6 +1828,7 @@ class Gui:
if value is not None: if value is not None:
environ['SDL_VIDEODRIVER'] = value environ['SDL_VIDEODRIVER'] = value
environ['SDL_VIDEO_DRIVER'] = value
if self.debug_check.get_active(): if self.debug_check.get_active():
environ['STEAM_LINUX_RUNTIME_VERBOSE'] = '1' environ['STEAM_LINUX_RUNTIME_VERBOSE'] = '1'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment