We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4336cfc + bbb532e commit d15368cCopy full SHA for d15368c
1 file changed
Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
@@ -700,9 +700,9 @@ void WebGLRenderingContextBase::destroyGraphicsContextGL()
700
removeActivityStateChangeObserver();
701
702
if (m_context) {
703
- // first release the big textures allocated for the FBOs
704
- m_context->reshape(0,0);
705
m_context->setClient(nullptr);
+ // release the big textures allocated for the FBOs
+ m_context->reshape(0,0);
706
m_context = nullptr;
707
removeActiveContext(*this);
708
}
0 commit comments