Delete an OpenGL context.
Defined in <SDL3/SDL_video.h>
SDL_bool SDL_GL_DestroyContext(SDL_GLContext context);
SDL_GLContext | context | the OpenGL context to be deleted. |
(SDL_bool) Returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.