From 0a349d791428d1d77970c2c5c77ca49d06de7502 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 2 Jun 2025 15:54:30 +0200 Subject: [PATCH] [glfw] Fix clean-up in example to use spine-cpp-lite APIs. --- spine-glfw/README.md | 4 +++- spine-glfw/example/main-cpp-lite.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/spine-glfw/README.md b/spine-glfw/README.md index 6320243f0..d56395913 100644 --- a/spine-glfw/README.md +++ b/spine-glfw/README.md @@ -2,6 +2,8 @@ The spine-glfw runtime provides basic functionality to load and manipulate [spine](http://esotericsoftware.com) skeletal animation data using C or C++ and render them via [GLFW](https://www.glfw.org/) and [glbinding](https://github.com/cginternals/glbinding). +# See the [spine-glfw documentation](http://esotericsoftware.com/spine-glfw) for in-depth information + ## Licensing You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge. @@ -16,4 +18,4 @@ For the official legal terms governing the Spine Runtimes, please read the [Spin spine-cpp works with data exported from spine 4.2.xx. -spine-cpp supports all spine features, except two color tinting. \ No newline at end of file +spine-glfw supports all spine features. \ No newline at end of file diff --git a/spine-glfw/example/main-cpp-lite.cpp b/spine-glfw/example/main-cpp-lite.cpp index dbdd5b94b..8a75ef908 100644 --- a/spine-glfw/example/main-cpp-lite.cpp +++ b/spine-glfw/example/main-cpp-lite.cpp @@ -148,8 +148,8 @@ int main() { // Dispose everything renderer_dispose(renderer); - // delete skeletonData; - delete atlas; + spine_skeleton_data_dispose(skeleton_data); + spine_atlas_dispose(atlas); // Kill the window and GLFW glfwTerminate();