diff options
Diffstat (limited to 'ui/sdl2.c')
-rw-r--r-- | ui/sdl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -772,7 +772,7 @@ static void sdl2_display_init(DisplayState *ds, DisplayOptions *o) * This is a bit hackish but saves us from bigger problem. * Maybe it's a good idea to fix this in SDL instead. */ - setenv("SDL_VIDEODRIVER", "x11", 0); + g_setenv("SDL_VIDEODRIVER", "x11", 0); #endif if (SDL_Init(SDL_INIT_VIDEO)) { |