diff --git a/spine-godot/spine_godot/SpineAtlasResource.h b/spine-godot/spine_godot/SpineAtlasResource.h index 5105d9606..af27d6cd9 100644 --- a/spine-godot/spine_godot/SpineAtlasResource.h +++ b/spine-godot/spine_godot/SpineAtlasResource.h @@ -77,7 +77,7 @@ class SpineAtlasResource : public Resource { Array get_normal_maps(); - void clear_native_data() { + const void clear_native_data() { this->atlas = nullptr; this->texture_loader = nullptr; }