mirror of https://github.com/mgba-emu/mgba.git
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);
|
||||
}
|
||||
#endif
|
||||
resizeContext();
|
||||
|
||||
m_buffer = nullptr;
|
||||
m_active = true;
|
||||
m_started = true;
|
||||
resizeContext();
|
||||
swapInterval(1);
|
||||
emit started();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue