mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[glfw] Fix clean-up in example to use spine-cpp-lite APIs.
This commit is contained in:
parent
b0890856cd
commit
0a349d7914
@ -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).
|
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
|
## Licensing
|
||||||
|
|
||||||
You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.
|
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 works with data exported from spine 4.2.xx.
|
||||||
|
|
||||||
spine-cpp supports all spine features, except two color tinting.
|
spine-glfw supports all spine features.
|
||||||
@ -148,8 +148,8 @@ int main() {
|
|||||||
|
|
||||||
// Dispose everything
|
// Dispose everything
|
||||||
renderer_dispose(renderer);
|
renderer_dispose(renderer);
|
||||||
// delete skeletonData;
|
spine_skeleton_data_dispose(skeleton_data);
|
||||||
delete atlas;
|
spine_atlas_dispose(atlas);
|
||||||
|
|
||||||
// Kill the window and GLFW
|
// Kill the window and GLFW
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user