mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
Don't purge shadows on reinit (r_purgeimages fix)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5641 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ec58c94e03
commit
99e9817dd8
1 changed files with 1 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ qboolean GLBE_BeginShadowMap(int id, int w, int h, uploadfmt_t encoding, int *re
|
|||
if (!gl_config.ext_framebuffer_objects)
|
||||
return false;
|
||||
|
||||
if (!TEXVALID(shadowmap[id]) || shadowmap[id]->width != w || shadowmap[id]->height != h || shadowmap[id]->format != encoding)
|
||||
if (!TEXVALID(shadowmap[id]) || shadowmap[id]->width != w || shadowmap[id]->height != h || shadowmap[id]->format != encoding || shadowmap[id]->status != TEX_LOADED)
|
||||
{
|
||||
texid_t tex;
|
||||
if (shadowmap[id])
|
||||
|
|
Loading…
Reference in a new issue