sdlGlUnloadLibrary function

void sdlGlUnloadLibrary()

Unload the OpenGL library previously loaded by SDL_GL_LoadLibrary().

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.1.3.

\sa SDL_GL_LoadLibrary

extern SDL_DECLSPEC void SDLCALL SDL_GL_UnloadLibrary(void)

Implementation

void sdlGlUnloadLibrary() {
  final sdlGlUnloadLibraryLookupFunction = libSdl3
      .lookupFunction<Void Function(), void Function()>('SDL_GL_UnloadLibrary');
  return sdlGlUnloadLibraryLookupFunction();
}