d***@free.fr
2012-10-24 10:57:28 UTC
Hello
I wanted to know what was the best way to resize a DFBSurface created by "CreateSurface".
I've seen that there was a resizeSurface function but only for surfaces that are created via a directFBWindow.
I've tried to call again CreateSurface on the same surface changing only the DFBSurfaceDescription width/height and it seems to work, but if I do it without first releasing the surface, do I risk memory leak?
Thank you for your help
Sincerely
YOLIN Dominique
I wanted to know what was the best way to resize a DFBSurface created by "CreateSurface".
I've seen that there was a resizeSurface function but only for surfaces that are created via a directFBWindow.
I've tried to call again CreateSurface on the same surface changing only the DFBSurfaceDescription width/height and it seems to work, but if I do it without first releasing the surface, do I risk memory leak?
Thank you for your help
Sincerely
YOLIN Dominique