Blame SOURCES/0001-fix-SDL12COMPAT_MAX_VIDMODE.patch

3a6940
From 77892a1ef5260fe78e593c8337dbe98874ff336c Mon Sep 17 00:00:00 2001
3a6940
From: Ozkan Sezer <sezeroz@gmail.com>
3a6940
Date: Tue, 25 Oct 2022 15:56:50 +0300
3a6940
Subject: [PATCH] fix SDL12COMPAT_MAX_VIDMODE,
3a6940
3a6940
.. was broken by commit 7be4b3c99a436e360a43aefc929087c46cdadee9
3a6940
---
3a6940
 src/SDL12_compat.c | 2 ++
3a6940
 1 file changed, 2 insertions(+)
3a6940
3a6940
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
3a6940
index 64ba56f..1123cc9 100644
3a6940
--- a/src/SDL12_compat.c
3a6940
+++ b/src/SDL12_compat.c
3a6940
@@ -2119,6 +2119,8 @@ Init12VidModes(void)
3a6940
         SDL_sscanf(maxmodestr, "%ux%u", &w, &h);
3a6940
         if (w > 0xFFFF) w = 0xFFFF;
3a6940
         if (h > 0xFFFF) h = 0xFFFF;
3a6940
+        maxw = w;
3a6940
+        maxh = h;
3a6940
     }
3a6940
 
3a6940
     for (i = 0; i < total; ++i) {
3a6940
-- 
3a6940
2.38.1
3a6940