Showing the changes to interface/src/Application.cpp (1 of 13 files). Show all
Unified · Split
| @@ -1068,6 +1068,7 @@ void Application::paintGL() { · 1067 unmodified lines | |||
| 1068 | uvec2 finalSize = toGlm(size); | 1068 | uvec2 finalSize = toGlm(size); |
| 1069 | // Ensure the rendering context commands are completed when rendering | 1069 | // Ensure the rendering context commands are completed when rendering |
| 1070 | GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); | 1070 | GLsync sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); |
| 1071 | glFinish(); | ||
| 1071 | _offscreenContext->doneCurrent(); | 1072 | _offscreenContext->doneCurrent(); |
| 1072 | Q_ASSERT(!QOpenGLContext::currentContext()); | 1073 | Q_ASSERT(!QOpenGLContext::currentContext()); |
| 1073 | displayPlugin->preDisplay(); | 1074 | displayPlugin->preDisplay(); |