The block_shader_program is now deleted on exit

This commit is contained in:
CobaltXII
2018-12-28 20:57:42 -05:00
parent dd44e9b845
commit 1b390a2919

View File

@@ -479,6 +479,8 @@ int main(int argc, char** argv)
// Destroy all OpenGL related objects.
glDeleteProgram(block_shader_program);
SDL_GL_DeleteContext(gl_context);
// Destroy all SDL related objects.