浏览代码

[Examples] Free Allocated Matrices. (#2425)

pull/2426/head
Anilforextra 3 年前
committed by GitHub
父节点
当前提交
9c66e2f97e
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      examples/shaders/shaders_mesh_instancing.c

+ 6
- 0
examples/shaders/shaders_mesh_instancing.c 查看文件

@ -217,6 +217,12 @@ int main(void)
// De-Initialization
//--------------------------------------------------------------------------------------
// Free allocated matrices
RL_FREE(rotations);
RL_FREE(rotationsInc);
RL_FREE(translations);
RL_FREE(transforms);
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------

正在加载...
取消
保存