fixed resetGL

This commit is contained in:
Zeno Rogue
2021-02-07 22:55:11 +01:00
parent 9daa95599d
commit d2531aba5e
+1 -1
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;
}