if (surface_exists(goggles_surface)) surface_free(goggles_surface); if (surface_exists(static_surface)) surface_free(static_surface);