Hello1423
Member
I have found a very frustrating bug in game maker studio 2, where continuously resizing or freeing and creating a surface results in a memory leak.
This video shows it all:
There is the same result if, in the step event, lines two and three are commented out and line 4 is uncommented out.
Does anyone know what is going on? I think this must mean that either surface_free doesn't completely free the memory, or that game maker keeps a background log of all surfaces that are created.
This video shows it all:
There is the same result if, in the step event, lines two and three are commented out and line 4 is uncommented out.
Does anyone know what is going on? I think this must mean that either surface_free doesn't completely free the memory, or that game maker keeps a background log of all surfaces that are created.