SDL_GL_UnloadLibrary(3)

✨ SDL_GL_UnloadLibrary(3) ✨

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual πŸ’… this one's a lil shortie but she's important, trust.


🌸 NAME 🌸

SDL_GL_UnloadLibrary β€” unloads the OpenGL library that got loaded earlier by SDL_GL_LoadLibrary(). that's it, that's the job 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_video.h>

void SDL_GL_UnloadLibrary(void);

no args, no return value, just vibes ✨


🧡 THREAD SAFETY 🧡

heads up!! this function should only be called on the main thread. no side-questing from a worker thread, bestie, i'm so serious 😭

πŸ¦‹ AVAILABILITY πŸ¦‹

this one's been around since SDL 3.2.0 β€” so if you're on anything older, she's not there yet, no cap πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page!! short and sweet, main character energy fr fr πŸ’– this came to you from the lovely folks at Simple Directmedia Layer, sitting pretty at version SDL 3.4.18, under the name SDL_GL_UnloadLibrary(3) πŸŽ€ go unload that library, you absolute icon, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from