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:
parent
f0f7002a6f
commit
853d1ef330
1 changed files with 1 additions and 1 deletions
|
@ -1062,7 +1062,7 @@ qboolean GLBE_BeginShadowMap(int id, int w, int h, uploadfmt_t encoding, int *re
|
||||||
texid_t tex;
|
texid_t tex;
|
||||||
if (shadowmap[id])
|
if (shadowmap[id])
|
||||||
Image_DestroyTexture(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->width = w;
|
||||||
tex->height = h;
|
tex->height = h;
|
||||||
tex->format = encoding;
|
tex->format = encoding;
|
||||||
|
|
Loading…
Reference in a new issue