git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5216 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2018-02-11 07:02:44 +00:00
parent 08f2900c1d
commit b1855b5268
1 changed files with 2 additions and 0 deletions

View File

@ -918,6 +918,8 @@ static void P_LoadTexture(part_type_t *ptype, qboolean warn)
tn.base = R_LoadHiResTexture(ptype->texname, "particles", IF_LOADNOW | IF_NOMIPMAP|(ptype->looks.nearest?IF_NEAREST:IF_LINEAR)|(ptype->looks.premul?IF_PREMULTIPLYALPHA:0)); //mipmapping breaks particlefont stuff
if (tn.base && tn.base->status == TEX_LOADING)
COM_WorkerPartialSync(tn.base, &tn.base->status, TEX_LOADING);
if (!TEXLOADED(tn.base))
tn.base = R_LoadHiResTexture(ptype->texname, "particles", IF_CLAMP|IF_NOREPLACE|IF_LOADNOW | IF_NOMIPMAP|(ptype->looks.nearest?IF_NEAREST:IF_LINEAR)|(ptype->looks.premul?IF_PREMULTIPLYALPHA:0)); //mipmapping breaks particlefont stuff
}
else
tn.base = NULL;