Преглед на файлове

[Examples] Free Allocated Matrices. (#2425)

pull/2426/head
Anilforextra преди 3 години
committed by GitHub
родител
ревизия
9c66e2f97e
No known key found for this signature in database 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
//--------------------------------------------------------------------------------------

Зареждане…
Отказ
Запис