Try to fix recent errors about incomplete attachments.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5930 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-07-01 01:16:40 +00:00
parent f0f7002a6f
commit 853d1ef330
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ qboolean GLBE_BeginShadowMap(int id, int w, int h, uploadfmt_t encoding, int *re
texid_t tex;
if (shadowmap[id])
Image_DestroyTexture(shadowmap[id]);
tex = shadowmap[id] = Image_CreateTexture(va("***shadowmap2d%i***", id), NULL, 0);
tex = shadowmap[id] = Image_CreateTexture(va("***shadowmap2d%i***", id), NULL, IF_NOPURGE);
tex->width = w;
tex->height = h;
tex->format = encoding;