mirror of
https://github.com/MichaelFisher1997/opengl-cpp.git
synced 2025-04-27 22:23:10 +00:00
fized our error message make added a glDeleteProgram call when the application ends
This commit is contained in:
parent
087343599c
commit
dcfd6031d7
@ -125,6 +125,7 @@ void SdlWindow::run() {
|
|||||||
update();
|
update();
|
||||||
render();
|
render();
|
||||||
}
|
}
|
||||||
|
glDeleteProgram(shader);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SdlWindow::processEvents() {
|
void SdlWindow::processEvents() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user