mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- more updating and bug in UpdatePicSize fixed.
This commit is contained in:
parent
0e165e40a3
commit
c3bc690e98
18 changed files with 61 additions and 154 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue