Avoid cast.

This commit is contained in:
Relintai 2019-10-21 23:26:30 +02:00
parent 4de8140563
commit 6a6b844823

View File

@ -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();