diff --git a/src/OpenGl/OpenGl_Workspace.cxx b/src/OpenGl/OpenGl_Workspace.cxx index 4f75125de8..a911d0f293 100644 --- a/src/OpenGl/OpenGl_Workspace.cxx +++ b/src/OpenGl/OpenGl_Workspace.cxx @@ -986,7 +986,8 @@ void OpenGl_Workspace::RedrawImmediate (const Graphic3d_CView& theCView, return; } - if (redrawImmediate (theCView, theCUnderLayer, theCOverLayer, NULL, Standard_True)) + if (redrawImmediate (theCView, theCUnderLayer, theCOverLayer, NULL, Standard_True) + && !myGlContext->caps->buffersNoSwap) { myGlContext->SwapBuffers(); }