diff --git a/src/framework/graphics/graphics.cpp b/src/framework/graphics/graphics.cpp index cceadb12..f58e029f 100644 --- a/src/framework/graphics/graphics.cpp +++ b/src/framework/graphics/graphics.cpp @@ -213,6 +213,7 @@ void Graphics::beginRender() void Graphics::endRender() { + glFlush(); } void Graphics::setViewportSize(const Size& size) diff --git a/src/framework/platform/x11window.cpp b/src/framework/platform/x11window.cpp index 7e972a06..4fc6a153 100644 --- a/src/framework/platform/x11window.cpp +++ b/src/framework/platform/x11window.cpp @@ -802,7 +802,6 @@ void X11Window::swapBuffers() #ifdef OPENGL_ES eglSwapBuffers(m_eglDisplay, m_eglSurface); #else - glFinish(); glXSwapBuffers(m_display, m_window); #endif }