[client] fix typo in SDL_VIDEODRIVER from prior patch, whoops :)

This commit is contained in:
Geoffrey McRae
2019-06-19 09:03:15 +10:00
parent 2def6346e6
commit d7fa0aeff9
2 changed files with 2 additions and 2 deletions

View File

@@ -1014,7 +1014,7 @@ int run()
if (strcmp(XDG_SESSION_TYPE, "wayland") == 0)
{
DEBUG_INFO("Wayland detected");
if (getenv("SDL_VIDEO_DRIVER") == NULL)
if (getenv("SDL_VIDEODRIVER") == NULL)
{
int err = setenv("SDL_VIDEODRIVER", "wayland", 1);
if (err < 0)