sdlEglGetCurrentDisplay function video
Get the currently active EGL display.
\returns the currently active EGL display or NULL on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.2.0.
extern SDL_DECLSPEC SDL_EGLDisplay SDLCALL SDL_EGL_GetCurrentDisplay(void)
Implementation
Pointer<Void> sdlEglGetCurrentDisplay() {
final sdlEglGetCurrentDisplayLookupFunction = _libSdl
.lookupFunction<Pointer<Void> Function(), Pointer<Void> Function()>(
'SDL_EGL_GetCurrentDisplay',
);
return sdlEglGetCurrentDisplayLookupFunction();
}