fixed resetGL

This commit is contained in:
Zeno Rogue 2021-02-07 14:51:08 +01:00
parent 9daa95599d
commit d2531aba5e
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ EX void resetGL() {
DEBBI(DF_INIT | DF_GRAPH, ("reset GL"))
callhooks(hooks_resetGL);
#if CAP_GLFONT
for(int i=0; i<max_glfont_size; i++) if(glfont[i]) {
for(int i=0; i<=max_glfont_size; i++) if(glfont[i]) {
delete glfont[i];
glfont[i] = NULL;
}