mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5216 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
08f2900c1d
commit
b1855b5268
1 changed files with 2 additions and 0 deletions
|
@ -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
|
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)
|
if (tn.base && tn.base->status == TEX_LOADING)
|
||||||
COM_WorkerPartialSync(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
|
else
|
||||||
tn.base = NULL;
|
tn.base = NULL;
|
||||||
|
|
Loading…
Reference in a new issue