if (surface_exists(surf_distort)) surface_free(surf_distort); if (surface_exists(surf_capture)) surface_free(surf_capture);