sdlGlDeleteContext function

void sdlGlDeleteContext(
  1. Pointer<NativeType> context
)

Delete an OpenGL context.

\param context the OpenGL context to be deleted

\since This function is available since SDL 2.0.0.

\sa SDL_GL_CreateContext

extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context)

Implementation

void sdlGlDeleteContext(Pointer<NativeType> context) {
  final sdlGlDeleteContextLookupFunction = libSdl2.lookupFunction<
      Void Function(Pointer<NativeType> context),
      void Function(Pointer<NativeType> context)>('SDL_GL_DeleteContext');
  return sdlGlDeleteContextLookupFunction(context);
}