- more updating and bug in UpdatePicSize fixed.

This commit is contained in:
Christoph Oelckers 2019-10-15 20:02:37 +02:00
parent 0e165e40a3
commit c3bc690e98
18 changed files with 61 additions and 154 deletions

View file

@ -52,8 +52,7 @@ FImageTexture::FImageTexture(FImageSource *img, const char *name)
mImage = img;
if (img != nullptr)
{
Size.x = img->GetWidth();
Size.y = img->GetHeight();
SetSize(img->GetWidth(), img->GetHeight());
auto offsets = img->GetOffsets();
PicAnim.xofs = offsets.first;