From 9d5cfb60d45bcd9a8fcbf5359dd7276590594924 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 29 Aug 2022 11:09:31 -0400
Subject: [PATCH] Patched to compile.
Bumped the keyboard right before committing, sorry!
---
src/SDL12_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 6cbb48b6..ab776573 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -5795,7 +5795,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags12)
if (fromwin_env) {
window_size_scaling = 1.0f; /* don't scale for external windows */
- } else if (window_+size_scaling <= 0.0f) {
+ } else if (window_size_scaling <= 0.0f) {
window_size_scaling = 1.0f; /* bogus value, reset to default */
} else if (flags12 & SDL12_RESIZABLE) {
window_size_scaling = 1.0f; /* assume that resizable windows are already prepared to handle whatever without scaling. */