Function gvr_clear_error

Source
pub unsafe extern "C" fn gvr_clear_error(gvr: *mut gvr_context) -> i32
Expand description

Clears the current GVR error code, and returns the error code that was cleared.

@param gvr Pointer to the gvr instance. @return The gvr_error code that was cleared by this function, or GVR_ERROR_NONE if no error has occurred.