deinitialize
Destroy any GL state needed by the custom renderer, and deallocate context, if necessary. This method is called once, at a point when the GL context is active. Note that it may be called even when the `initialize` function has not been called.