Explorar el Código

[Examples] Free Allocated Matrices. (#2425)

pull/2426/head
Anilforextra hace 3 años
cometido por GitHub
padre
commit
9c66e2f97e
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      examples/shaders/shaders_mesh_instancing.c

+ 6
- 0
examples/shaders/shaders_mesh_instancing.c Ver fichero

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

Cargando…
Cancelar
Guardar