mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] fix typo in SDL_VIDEODRIVER from prior patch, whoops :)
This commit is contained in:
parent
2def6346e6
commit
d7fa0aeff9
@ -1014,7 +1014,7 @@ int run()
|
|||||||
if (strcmp(XDG_SESSION_TYPE, "wayland") == 0)
|
if (strcmp(XDG_SESSION_TYPE, "wayland") == 0)
|
||||||
{
|
{
|
||||||
DEBUG_INFO("Wayland detected");
|
DEBUG_INFO("Wayland detected");
|
||||||
if (getenv("SDL_VIDEO_DRIVER") == NULL)
|
if (getenv("SDL_VIDEODRIVER") == NULL)
|
||||||
{
|
{
|
||||||
int err = setenv("SDL_VIDEODRIVER", "wayland", 1);
|
int err = setenv("SDL_VIDEODRIVER", "wayland", 1);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user