disable flood fill on skingroups. apparently other engines don't bother with it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4763 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9ff0f6ff6e
commit
71f4fe99e0
1 changed files with 2 additions and 1 deletions
|
@ -3127,7 +3127,8 @@ static void *Q1_LoadSkins_GL (model_t *loadmodel, daliasskintype_t *pskintype, u
|
|||
{
|
||||
frames[t].texels = ZG_Malloc(&loadmodel->memgroup, s);
|
||||
memcpy(frames[t].texels, data, s);
|
||||
Mod_FloodFillSkin(frames[t].texels, outskin->skinwidth, outskin->skinheight);
|
||||
//other engines apparently don't flood fill. because flood filling is horrible, we won't either.
|
||||
//Mod_FloodFillSkin(frames[t].texels, outskin->skinwidth, outskin->skinheight);
|
||||
|
||||
Q_snprintfz(skinname, sizeof(skinname), "%s_%i_%i.lmp", loadmodel->name, i, t);
|
||||
frames[t].texnums.base = R_LoadReplacementTexture(skinname, alttexpath, texflags, frames[t].texels, outskin->skinwidth, outskin->skinheight, skintranstype);
|
||||
|
|
Loading…
Reference in a new issue