瀏覽代碼

[godot] Make SpineAtlasResource::clear_native_data const.

Mario Zechner 1 年之前
父節點
當前提交
5f6b637d53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-godot/spine_godot/SpineAtlasResource.h

+ 1 - 1
spine-godot/spine_godot/SpineAtlasResource.h

@@ -77,7 +77,7 @@ public:
 
 	Array get_normal_maps();
 
-	void clear_native_data() {
+	const void clear_native_data() {
 		this->atlas = nullptr;
 		this->texture_loader = nullptr;
 	}