void video_surface_destroy(void) { VS_FLOW("Fun %s in\n", __FUNCTION__); VideoSurface * vs = gvslocal, *vsnext; while(vs){ vsnext = vs->next; _destroyVideoSurface(vs, 1); vs = vsnext; } }
/*============================================================================= FUNCTION: destroyVideoSurface DESCRIPTION: This function destroy a video surface create before ==============================================================================*/ void destroyVideoSurface (void *vshandle) { _destroyVideoSurface (vshandle, 0); }