FreeBrush()

BlitzMax Modules Forums/MiniB3D/FreeBrush()

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No, I commented out the mesh building so all I'm doing is creating a brush. The brush with a texture uses 260 bytes that never gets unloaded. If I comment out the texture part, the brush by itself uses 30 bytes that never get unloaded.

NOTE: Those 30 bytes don't add up over and over. If I load and unload the same data multiple times, it doesn't add 30 every time (so it's not a memory leak, per se). It's just the FIRST time. This makes me wonder if there's some memory buffer that gets created for every brush that cannot be reclaimed until the whole thing is shut down.