mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed resetGL
This commit is contained in:
parent
9daa95599d
commit
d2531aba5e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user