Delete an OpenGL context.
Defined in <SDL3/SDL_video.h>
int SDL_GL_DeleteContext(SDL_GLContext context);
context | the OpenGL context to be deleted |
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction, CategoryVideo