[Ohrrpgce] SVN: teeemcee/8685 gfx_surfaceDestroy_SW didn't actually free the Surface! Also changed sur
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Thu Apr 27 20:39:35 PDT 2017
teeemcee
2017-04-27 20:39:35 -0700 (Thu, 27 Apr 2017)
344
gfx_surfaceDestroy_SW didn't actually free the Surface! Also changed surfaceDestroy and paletteDestroy interface
So memory was leaked when you imported a 24/32 bit BMP.
These functions now take a ptr ptr as argument and zero out your pointer
even if the object isn't actually freed, to avoid bugs, just like
frame_unload and palette16_unload.
---
U wip/allmodex.bas
U wip/backends.bas
U wip/custom.bas
U wip/subs4.bas
U wip/surface.bi
U wip/surface.cpp
U wip/surface.h
More information about the Ohrrpgce
mailing list