foxygit / doom Log in
commit d0d9c197f1673ea62620f238179e5800ca4c0e98
Author:     tpoppins <tpoppins@juno.com>
AuthorDate: Thu Oct 28 06:42:25 2021 -0400
Commit:     GitHub <noreply@github.com>
CommitDate: Thu Oct 28 06:42:25 2021 -0400

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

diff --git a/src/i_video.c b/src/i_video.c
index babeef86..9d875461 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -1354,7 +1354,7 @@ static void SetVideoMode(void)
     {
         SDL_version ver;
         SDL_GetVersion(&ver);
-        if (ver.major == 2 && ver.minor == 0 && ver.patch >= 14)
+        if (ver.major == 2 && ver.minor == 0 && (ver.patch == 14 || ver.patch == 16))
         {
            SDL_SetHintWithPriority(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1", SDL_HINT_OVERRIDE);
         }