From db4de0f50e527f1a22e2418921aa0f6116c77c48 Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Wed, 15 Mar 2023 16:39:53 -0700
Subject: [PATCH] sdl/i_video.c: fix compile prior to SDL 2.0.18

---
 src/sdl/i_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c
index 47d41ede5c..02f0e462e1 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
 		}
 
-- 
GitLab