glfw: update native APIs to glfw@master

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-06-11 15:45:30 -07:00 committed by Stephen Gutekanst
parent 199a3dce78
commit 2db01e1a32
3 changed files with 43 additions and 4 deletions

View file

@ -385,6 +385,9 @@ pub fn Native(comptime options: BackendOptions) type {
///
/// Possible errors include glfw.Error.NotInitalized.
///
/// remark: Because EGL is initialized on demand, this function will return `EGL_NO_DISPLAY`
/// until the first context has been created via EGL.
///
/// thread_safety: This function may be called from any thread. Access is not synchronized.
pub fn getEGLDisplay() *anyopaque {
internal_debug.assertInitialized();