pub(crate) unsafe fn get_config_attr( egl_display: *const c_void, egl_config: *const c_void, attr: i32, ) -> i32