Browse Source

ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192

pull/2/head
Alibek Omarov 3 years ago
parent
commit
ecddae8ee6
  1. 2
      ref_gl/gl_local.h
  2. 2
      ref_soft/r_local.h

2
ref_gl/gl_local.h

@ -66,7 +66,7 @@ extern poolhandle_t r_temppool; @@ -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

2
ref_soft/r_local.h

@ -59,7 +59,7 @@ extern poolhandle_t r_temppool; @@ -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

Loading…
Cancel
Save