releaseCGLContext(_:)
Releases the specified rendering context.
Declaration
func releaseCGLContext(_ ctx: CGLContextObj)Parameters
- ctx:
The rendering context to release.
Discussion
This method is called when the OpenGL context that was previously returned by copyCGLContext(forPixelFormat:) is no longer needed.
You should not call this method directly, it is intended to be overridden by subclasses.