mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 20:35:58 +03:00
fix(gx): do glFlush() before swapping buffers
This commit is contained in:
parent
83f0e9ac2e
commit
bf0fa09160
@ -1604,6 +1604,8 @@ void GLSDLDevice::DrawRect() {
|
|||||||
this->m_States.binding.framebuffer = 0;
|
this->m_States.binding.framebuffer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
glFlush();
|
||||||
|
|
||||||
this->m_Window->Swap();
|
this->m_Window->Swap();
|
||||||
|
|
||||||
if (!this->m_UseWindowSystemBuffer || this->m_FlippedSystemBuffer) {
|
if (!this->m_UseWindowSystemBuffer || this->m_FlippedSystemBuffer) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user