From 947de1218aaf1b93cae14821e2fea6b51d668f92 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 20 Feb 2023 17:11:05 +0100 Subject: [PATCH] (RSX) Set RSX_MAX_SHADERS back to 2 - makes no difference to the array bound warnings --- gfx/common/rsx_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/rsx_common.h b/gfx/common/rsx_common.h index 0d17590397..eb51451b0c 100644 --- a/gfx/common/rsx_common.h +++ b/gfx/common/rsx_common.h @@ -33,7 +33,7 @@ #define RSX_MAX_BUFFERS 2 #define RSX_MAX_MENU_BUFFERS 2 #define RSX_MAX_TEXTURES 4 -#define RSX_MAX_SHADERS 10 +#define RSX_MAX_SHADERS 2 #define RSX_MAX_VERTICES 4 #define RSX_MAX_TEXTURE_VERTICES 4096 // Set > 0 for preallocated texture vertices #define RSX_MAX_FONT_VERTICES 8192