mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-12 10:15:16 +01:00
Avoid cast.
This commit is contained in:
parent
4de8140563
commit
6a6b844823
@ -251,7 +251,7 @@ void TexturePacker::merge() {
|
||||
|
||||
ERR_CONTINUE(!img.is_valid());
|
||||
|
||||
int img_width = img->get_size().x;
|
||||
int img_width = img->get_width();
|
||||
|
||||
PoolByteArray image_data = img->get_data();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user