[][src]Function libmpv_sys::mpv_render_context_free

pub unsafe extern "C" fn mpv_render_context_free(ctx: *mut mpv_render_context)

Destroy the mpv renderer state.

If video is still active (e.g. a file playing), video will be disabled forcefully.

@param ctx a valid render context. After this function returns, this is not a valid pointer anymore. NULL is also allowed and does nothing.