Przeglądaj źródła

[Examples] Free Allocated Matrices. (#2425)

pull/2426/head
Anilforextra 3 lat temu
committed by GitHub
rodzic
commit
9c66e2f97e
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 0 usunięć
  1. +6
    -0
      examples/shaders/shaders_mesh_instancing.c

+ 6
- 0
examples/shaders/shaders_mesh_instancing.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz