mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers within buffersNoSwap option
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user