fized our error message make added a glDeleteProgram call when the application ends

This commit is contained in:
MichaelFisher1997 2025-01-06 18:38:21 +00:00
parent 087343599c
commit dcfd6031d7

View File

@ -125,6 +125,7 @@ void SdlWindow::run() {
update(); update();
render(); render();
} }
glDeleteProgram(shader);
} }
void SdlWindow::processEvents() { void SdlWindow::processEvents() {