mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +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"))
|
DEBBI(DF_INIT | DF_GRAPH, ("reset GL"))
|
||||||
callhooks(hooks_resetGL);
|
callhooks(hooks_resetGL);
|
||||||
#if CAP_GLFONT
|
#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];
|
delete glfont[i];
|
||||||
glfont[i] = NULL;
|
glfont[i] = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user