From 9a016c0e73675cf9d80b8b971289edbc0d832fe8 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 8 Jun 2026 17:19:41 -0400
Subject: [PATCH] quirks: Penumbra: Overture doesn't like GL scaling.
We probably need to add this quirk for Linux and Mac, too, but I need the exe
names for those platforms.
Reference Issue #395.
---
src/SDL12_compat.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index f7c799709..9da6f3318 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -1478,6 +1478,10 @@ static QuirkEntryType quirks[] = {
/* Sacred Gold manually frees SDL surface pixels */
{"sacred", "SDL_SURFACE_MALLOC", "1"},
+#elif defined(_WIN32)
+ // Penumbra: Overture doesn't like GL scaling.
+ {"Penumbra.exe", "SDL12COMPAT_OPENGL_SCALING", "0"},
+
#else
/* TODO: Add any quirks needed for this system. */