mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed generation of brightmaps for sprites.
This forgot to take the added empty border for filtering improvement into account.
This commit is contained in:
parent
77956fc485
commit
8486cd2c0e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue