Browse Source

[Examples] Free Allocated Matrices. (#2425)

pull/2426/head
Anilforextra 2 years ago
committed by GitHub
parent
commit
9c66e2f97e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      examples/shaders/shaders_mesh_instancing.c

+ 6
- 0
examples/shaders/shaders_mesh_instancing.c View File

@ -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
//--------------------------------------------------------------------------------------

Loading…
Cancel
Save