diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 47d41ede5c9a7e813930254c5c2718a3a61d8971..02f0e462e163157418f708e2a3a085d620e9eddc 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1504,7 +1504,7 @@ static SDL_bool Impl_CreateContext(void) // This is because the renderer will be created before the config // is read and vid_wait is set from the user's preferences, and thus // vid_wait will have no effect. - CV_StealthSetValue(cv_vidwait, 0); + CV_StealthSetValue(&cv_vidwait, 0); #endif }