sdlEglGetCurrentConfig function video

Pointer<Void> sdlEglGetCurrentConfig()

Get the currently active EGL config.

\returns the currently active EGL config 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_EGLConfig SDLCALL SDL_EGL_GetCurrentConfig(void)

Implementation

Pointer<Void> sdlEglGetCurrentConfig() {
  final sdlEglGetCurrentConfigLookupFunction = _libSdl
      .lookupFunction<Pointer<Void> Function(), Pointer<Void> Function()>(
        'SDL_EGL_GetCurrentConfig',
      );
  return sdlEglGetCurrentConfigLookupFunction();
}