mirror of
https://github.com/MichaelFisher1997/opengl-cpp.git
synced 2025-11-24 02:54:07 +00:00
fized our error message make added a glDeleteProgram call when the application ends
This commit is contained in:
@@ -125,6 +125,7 @@ void SdlWindow::run() {
|
||||
update();
|
||||
render();
|
||||
}
|
||||
glDeleteProgram(shader);
|
||||
}
|
||||
|
||||
void SdlWindow::processEvents() {
|
||||
|
||||
Reference in New Issue
Block a user