Delete image texture after used

This commit is contained in:
Matt McWilliams 2024-10-22 18:06:33 -04:00
parent 95158f96e6
commit 2067cf37ad
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ void display () {
displaying = false; displaying = false;
//timing = false; //timing = false;
completed = true; completed = true;
glDeleteTextures(1, &imageTexture);
} }
} }