mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-21 21:44:28 +03:00
fix(gx): do glFlush() before swapping buffers
This commit is contained in:
1 parent
83f0e9ac2e
commit
bf0fa09160
1 file changed
+2
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user