sdlEglGetCurrentConfig function

Pointer<NativeType> 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.1.3.

extern SDL_DECLSPEC SDL_EGLConfig SDLCALL SDL_EGL_GetCurrentConfig(void)

Implementation

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