medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 19c3c7a202e545b3222a69d4ea10cf77a4536abe
parent 3fab8fc96fd345f76ceecd678ee85f9393fe29a4
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Nov 30 20:37:57 +0200

Delete UBs in skybox_destroy

Diffstat:
skybox.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/skybox.cc b/skybox.cc @@ -109,4 +109,6 @@ void skybox_render( const Skybox * skybox, v3 view_angles, float sun ) { void skybox_destroy( Skybox * skybox ) { renderer_delete_mesh( skybox->mesh ); // renderer_delete_shader( skybox->shader ); + renderer_delete_ub( skybox->vertex_uniforms ); + renderer_delete_ub( skybox->fragment_uniforms ); }