The block_texture_array is now deleted on exit

This commit is contained in:
CobaltXII
2018-12-28 21:25:20 -05:00
parent 20be7b5c1e
commit b0db080dc0

View File

@@ -494,6 +494,8 @@ int main(int argc, char** argv)
// Destroy all OpenGL related objects.
glDeleteTextures(1, &block_texture_array);
glDeleteProgram(block_shader_program);
SDL_GL_DeleteContext(gl_context);