- fixed generation of brightmaps for sprites.

This forgot to take the added empty border for filtering improvement into account.
This commit is contained in:
Christoph Oelckers 2018-06-10 08:21:35 +02:00
parent 77956fc485
commit 8486cd2c0e
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ void FMaterial::Bind(int clampmode, int translation)
layer = mTextureLayers[i].texture;
}
auto systex = ValidateSysTexture(layer, mExpanded);
systex->BindOrCreate(layer, i+1, clampmode, 0, 0);
systex->BindOrCreate(layer, i+1, clampmode, 0, mExpanded ? CTF_Expand : 0);
maxbound = i+1;
}
}