mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0025984: Visualization, OpenGl_Workspace::RedrawImmediate() - do not swap buffers within buffersNoSwap option
This commit is contained in:
parent
a3ee6e9f77
commit
ef0bfc15cc
@ -986,7 +986,8 @@ void OpenGl_Workspace::RedrawImmediate (const Graphic3d_CView& theCView,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (redrawImmediate (theCView, theCUnderLayer, theCOverLayer, NULL, Standard_True))
|
if (redrawImmediate (theCView, theCUnderLayer, theCOverLayer, NULL, Standard_True)
|
||||||
|
&& !myGlContext->caps->buffersNoSwap)
|
||||||
{
|
{
|
||||||
myGlContext->SwapBuffers();
|
myGlContext->SwapBuffers();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user