From ecddae8ee61676d199622dcaf6a44456272a6987 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 29 Nov 2021 16:22:52 +0300 Subject: [PATCH] ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192 --- ref_gl/gl_local.h | 2 +- ref_soft/r_local.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ref_gl/gl_local.h b/ref_gl/gl_local.h index 74e8b9fa..03f6ca74 100644 --- a/ref_gl/gl_local.h +++ b/ref_gl/gl_local.h @@ -66,7 +66,7 @@ extern poolhandle_t r_temppool; #define BLOCK_SIZE_DEFAULT 128 // for keep backward compatibility #define BLOCK_SIZE_MAX 1024 -#define MAX_TEXTURES 4096 +#define MAX_TEXTURES 8192 // a1ba: increased by users request #define MAX_DETAIL_TEXTURES 256 #define MAX_LIGHTMAPS 256 #define SUBDIVIDE_SIZE 64 diff --git a/ref_soft/r_local.h b/ref_soft/r_local.h index 8a893bbb..eda6319f 100644 --- a/ref_soft/r_local.h +++ b/ref_soft/r_local.h @@ -59,7 +59,7 @@ extern poolhandle_t r_temppool; #define BLOCK_SIZE_DEFAULT 128 // for keep backward compatibility #define BLOCK_SIZE_MAX 1024 -#define MAX_TEXTURES 4096 +#define MAX_TEXTURES 8192 // a1ba: increased by users request #define MAX_DECAL_SURFS 4096 #if XASH_LOW_MEMORY