rewritten one of the shader load functions

This commit is contained in:
Ben
2019-01-13 17:52:44 +00:00
parent 34cb0fb1c6
commit f9e08e563c
2 changed files with 21 additions and 21 deletions

View File

@@ -121,6 +121,7 @@ int main(int argc, char** argv) {
}
game->isWindowClosed = true;
~simpleShader()
SDL_GL_DeleteContext(game->glContext);
SDL_DestroyWindow(game->window);
SDL_Quit();