mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
@@ -62,6 +62,7 @@ IOSGLRenderTarget::IOSGLRenderTarget(fml::scoped_nsobject<CAEAGLLayer> layer,
|
||||
}
|
||||
|
||||
IOSGLRenderTarget::~IOSGLRenderTarget() {
|
||||
[EAGLContext setCurrentContext:context_];
|
||||
FML_DCHECK(glGetError() == GL_NO_ERROR);
|
||||
|
||||
// Deletes on GL_NONEs are ignored
|
||||
|
||||
Reference in New Issue
Block a user