Method wglDeleteContext
wglDeleteContext(nint)
Deletes a specified OpenGL rendering context.
public static extern bool wglDeleteContext(nint hglrc)
Parameters
hglrcnintA handle to the OpenGL rendering context to delete. This handle must not be null.
Returns
Remarks
This method releases the resources associated with the specified OpenGL rendering context. Ensure that the rendering context is no longer current in any thread before calling this method.