PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Calling CGapiSurface::CreateSurface multiple times

If I need to call CGapiSurface::CreateSurface more than once on the same instance. Do I need to call CGapiSurface::FreeSurface before that or CGapiSurface::CreateSurface takes care of freeing the previously allocated surface?
CreateSurface takes care of freeing the previously allocated surface, you can call it as many times as you want.