mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): do glFlush() before swapping buffers
This commit is contained in:
parent
83f0e9ac2e
commit
bf0fa09160
1 changed files with 2 additions and 0 deletions
|
|
@ -1604,6 +1604,8 @@ void GLSDLDevice::DrawRect() {
|
|||
this->m_States.binding.framebuffer = 0;
|
||||
}
|
||||
|
||||
glFlush();
|
||||
|
||||
this->m_Window->Swap();
|
||||
|
||||
if (!this->m_UseWindowSystemBuffer || this->m_FlippedSystemBuffer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue