From 853d1ef330f264b69a406f3caaa88b1903814b91 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 1 Jul 2021 01:16:40 +0000 Subject: [PATCH] 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 --- engine/gl/gl_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_backend.c b/engine/gl/gl_backend.c index 475d6b589..f08a37b0f 100644 --- a/engine/gl/gl_backend.c +++ b/engine/gl/gl_backend.c @@ -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;