Raised MAX_GLTEXTURES limit from 2048 to 4096 for now per Eric's request

This commit is contained in:
Ozkan Sezer 2021-08-31 15:50:28 +03:00
parent 9d7f9eac6f
commit 4e1d132f31
4 changed files with 5 additions and 1 deletions

View file

@ -155,6 +155,7 @@ QuakeSpasm 0.94.0 has initial support for playing the 2021 re-release content:
<item> Fixed a missing MAXALIASFRAMES bounds check (sf.net bug/37)
<item> OpenGL: workaround Intel UHD 600 driver bug (sf.net bug/39)
<item> OpenGL: merged surface mark & cull optimizations from vkQuake.
<item> Raised MAX_GLTEXTURES limit from 2048 to 4096 for now.
<item> Changed 'model has a skin taller than 480' error into a warning
<item> Reject lit files if they're the wrong size (eg hipnotic/start.bsp vs id1/start.lit or just a bsp that no longer has any coloured lits, etc)
<item> External ent files are now versioned using 4 digit crc of the original map's ents, like e1m1@c49d.ent, which is much safer. The old method (e.g. e1m1.ent) still works but isn't recommended.

View file

@ -33,7 +33,7 @@ static cvar_t gl_max_size = {"gl_max_size", "0", CVAR_NONE};
static cvar_t gl_picmip = {"gl_picmip", "0", CVAR_NONE};
static GLint gl_hardware_maxsize;
#define MAX_GLTEXTURES 2048
#define MAX_GLTEXTURES 4096
static int numgltextures;
static gltexture_t *active_gltextures, *free_gltextures;
gltexture_t *notexture, *nulltexture;

View file

@ -245,6 +245,7 @@ unzip QuakeEX.kpf localization/loc_english.txt
<LI> Fixed a missing MAXALIASFRAMES bounds check (sf.net bug/37)</LI>
<LI> OpenGL: workaround Intel UHD 600 driver bug (sf.net bug/39)</LI>
<LI> OpenGL: merged surface mark &amp; cull optimizations from vkQuake.</LI>
<LI> Raised MAX_GLTEXTURES limit from 2048 to 4096 for now.</LI>
<LI> Changed 'model has a skin taller than 480' error into a warning</LI>
<LI> Reject lit files if they're the wrong size (eg hipnotic/start.bsp vs id1/start.lit or just a bsp that no longer has any coloured lits, etc)</LI>
<LI> External ent files are now versioned using 4 digit crc of the original map's ents, like e1m1@c49d.ent, which is much safer. The old method (e.g. e1m1.ent) still works but isn't recommended.</LI>

View file

@ -284,6 +284,8 @@
o OpenGL: merged surface mark & cull optimizations from vkQuake.
o Raised MAX_GLTEXTURES limit from 2048 to 4096 for now.
o Changed 'model has a skin taller than 480' error into a warning
o Reject lit files if they're the wrong size (eg hipnotic/start.bsp