1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixed resetGL

This commit is contained in:
Zeno Rogue 2021-02-07 14:51:08 +01:00
parent 9daa95599d
commit d2531aba5e

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;
}