- moved the offsets to FGameTexture.
# Conflicts: # src/common/textures/textures.h
This commit is contained in:
parent
8843761bf8
commit
61380fc505
6 changed files with 37 additions and 74 deletions
|
|
@ -64,10 +64,6 @@ void FImageTexture::SetFromImage()
|
|||
Width = img->GetWidth();
|
||||
Height = img->GetHeight();
|
||||
|
||||
auto offsets = img->GetOffsets();
|
||||
_LeftOffset[1] = _LeftOffset[0] = offsets.first;
|
||||
_TopOffset[1] = _TopOffset[0] = offsets.second;
|
||||
|
||||
bMasked = img->bMasked;
|
||||
bTranslucent = img->bTranslucent;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue