Qt: Make sure resizeContext doesn't call doneCurrent at end of start()

This commit is contained in:
Vicki Pfau 2025-04-13 00:06:20 -07:00
parent 5bf240ac32
commit 35b6003a7d
1 changed files with 1 additions and 1 deletions

View File

@ -813,11 +813,11 @@ void PainterGL::start() {
mGLES2ShaderAttach(reinterpret_cast<mGLES2Context*>(m_backend), static_cast<mGLES2Shader*>(m_shader.passes), m_shader.nPasses);
}
#endif
resizeContext();
m_buffer = nullptr;
m_active = true;
m_started = true;
resizeContext();
swapInterval(1);
emit started();
}