shithub: candycrisis

Download patch

ref: e67675bc2c457a0bc3bd4b7883d82d0ec7746c10
parent: 4a4774d417461522ffb82f189eef2e25dcdecc28
author: Jacob Moody <moody@posixcafe.org>
date: Mon Sep 4 22:28:59 EDT 2023

fixed scale for now in plan9

--- a/src/main.c
+++ b/src/main.c
@@ -565,6 +565,9 @@
     if (crispUpscaling)
         scale = (int) scale;
     scale = scale < 1 ? 1 : scale;
+#ifdef __plan9__
+    scale = 1;
+#endif
 
     SDL_CreateWindowAndRenderer(resW*scale, resH*scale, SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI, &g_window, &g_renderer);