From 05faa2cbf85f8d5800f1a8b1520da8cdb514b6c3 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 2 Oct 2024 14:20:29 +0200 Subject: [PATCH] prevent this from overflowing ye well idk anymore. --- src/screen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screen.h b/src/screen.h index 4f3b0b1ff..be8cd9614 100644 --- a/src/screen.h +++ b/src/screen.h @@ -39,12 +39,12 @@ // we try to re-allocate a minimum of buffers for stability of the memory, // so all the small-enough tables based on screen size, are allocated once // and for all at the maximum size. -#define MAXVIDWIDTH 2560 // don't set this too high because actually -#define MAXVIDHEIGHT 1440 // lots of tables are allocated with the MAX size. +#define MAXVIDWIDTH 5120 // don't set this too high because actually +#define MAXVIDHEIGHT 2880 // lots of tables are allocated with the MAX size. #define BASEVIDWIDTH 320 // NEVER CHANGE THIS! This is the original #define BASEVIDHEIGHT 200 // resolution of the graphics. -// max res for png capture; seperated it so both MAXVID values can be lower for software performance reasons; OpenGL does not care about those anyways +// max res for png capture; just here to prevent some crashes on very high resoltions; tho you should never go this high cause ogl allocs certain things with MAXVIDWIDTH and MAXVIDHEIGHT too Zzz... #define MAXPNGWIDTH 7680 #define MAXPNGHEIGHT 4320