mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
fixed a memory leak -- not clearing finf.tvertices
This commit is contained in:
parent
b6a6b1b442
commit
241e731663
@ -2489,7 +2489,9 @@ EX void drawqueue() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(!keep_curvedata) {
|
if(!keep_curvedata) {
|
||||||
curvedata.clear(); curvestart = 0;
|
curvedata.clear();
|
||||||
|
finf.tvertices.clear();
|
||||||
|
curvestart = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CAP_GL
|
#if CAP_GL
|
||||||
|
Loading…
Reference in New Issue
Block a user