diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp index 1f77cc05707..1e84947b872 100644 --- a/scene/resources/tile_set.cpp +++ b/scene/resources/tile_set.cpp @@ -4434,7 +4434,7 @@ void TileSetAtlasSource::_update_padded_texture() { Ref image; image.instantiate(); - image->create(size.x, size.y, false, Image::FORMAT_RGBA8); + image->create(size.x, size.y, false, src->get_format()); for (KeyValue kv : tiles) { for (int frame = 0; frame < (int)kv.value.animation_frames_durations.size(); frame++) {