Qt: Make sure resizeContext doesn't call doneCurrent at end of start()
This commit is contained in:
parent
5bf240ac32
commit
35b6003a7d
@ -813,11 +813,11 @@ void PainterGL::start() {
|
|||||||
mGLES2ShaderAttach(reinterpret_cast<mGLES2Context*>(m_backend), static_cast<mGLES2Shader*>(m_shader.passes), m_shader.nPasses);
|
mGLES2ShaderAttach(reinterpret_cast<mGLES2Context*>(m_backend), static_cast<mGLES2Shader*>(m_shader.passes), m_shader.nPasses);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
resizeContext();
|
|
||||||
|
|
||||||
m_buffer = nullptr;
|
m_buffer = nullptr;
|
||||||
m_active = true;
|
m_active = true;
|
||||||
m_started = true;
|
m_started = true;
|
||||||
|
resizeContext();
|
||||||
swapInterval(1);
|
swapInterval(1);
|
||||||
emit started();
|
emit started();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user