I wonder what's gonna happen with those brushes and or textures that are no longer used by a surface. EG:
brush=GetSurfaceBrush(surf)
PaintSurface, surf,brush
This will create a clone of the original brush of the surface. After painting the clone on the surface, the original brush is no longer in use. Is it removed from memory automaticly, or do I have to expect a memory leak?
Well while I'm writing this I just realize, I could test this with a little test app, as long as Vram is affected...
Maybe somebody else already knows what's up with it.
brush=GetSurfaceBrush(surf)
PaintSurface, surf,brush
This will create a clone of the original brush of the surface. After painting the clone on the surface, the original brush is no longer in use. Is it removed from memory automaticly, or do I have to expect a memory leak?
Well while I'm writing this I just realize, I could test this with a little test app, as long as Vram is affected...
Maybe somebody else already knows what's up with it.