mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
gl1: free 16to8 convert table on exit
This commit is contained in:
parent
e534f9e2b3
commit
1aadd6e404
1 changed files with 8 additions and 3 deletions
|
@ -29,12 +29,12 @@
|
|||
#define NUM_BEAM_SEGS 6
|
||||
|
||||
viddef_t vid;
|
||||
model_t *r_worldmodel;
|
||||
model_t *r_worldmodel = NULL;
|
||||
|
||||
float gldepthmin, gldepthmax;
|
||||
|
||||
glconfig_t gl_config;
|
||||
glstate_t gl_state;
|
||||
glconfig_t gl_config = {0};
|
||||
glstate_t gl_state = {0};
|
||||
|
||||
image_t *r_notexture; /* use for bad textures */
|
||||
image_t *r_particletexture; /* little dot for particles */
|
||||
|
@ -1776,6 +1776,11 @@ RI_Shutdown(void)
|
|||
QGL_Shutdown();
|
||||
|
||||
R_FreeTemporaryLMBuffer();
|
||||
|
||||
if (gl_state.d_16to8table)
|
||||
{
|
||||
free(gl_state.d_16to8table);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue