From ab35a44ed9fdcc0978f81ee6e9c92970a9ec8972 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 13 Feb 2024 10:57:36 +0100 Subject: [PATCH] more revert --- src/r_main.c | 2 +- src/screen.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/r_main.c b/src/r_main.c index 06c7fdfe7..779bcac5f 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -657,7 +657,7 @@ static void R_InitTextureMapping(void) // #define DISTMAP 2 -FUNCINLINE static ATTRINLINE void R_InitLightTables(void) +static inline void R_InitLightTables(void) { INT32 i; INT32 j; diff --git a/src/screen.h b/src/screen.h index 38eb73c0b..478890c49 100644 --- a/src/screen.h +++ b/src/screen.h @@ -39,8 +39,8 @@ // 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 7680 // don't set this too high because actually -#define MAXVIDHEIGHT 4320 // lots of tables are allocated with the MAX size. +#define MAXVIDWIDTH 3840 // don't set this too high because actually +#define MAXVIDHEIGHT 2160 // 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.