Function smithay::backend::egl::wrap_egl_call [−][src]
pub fn wrap_egl_call<R, F: FnOnce() -> R>(call: F) -> Result<R, EGLError>
Expand description
Wraps a raw egl call and returns error codes from eglGetError
, if it fails.