From: kgv Date: Thu, 3 Apr 2014 10:56:54 +0000 (+0400) Subject: 0024791: Visualization - highlighting is not cleared in local selection on some OpenG... X-Git-Tag: V6_8_0_beta~422 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=65812bd0e4461377d9481bb4cd8336047077a171;p=occt-copy.git 0024791: Visualization - highlighting is not cleared in local selection on some OpenGL drivers Force GL commands execution by glFlush(). --- diff --git a/src/OpenGl/OpenGl_Workspace.cxx b/src/OpenGl/OpenGl_Workspace.cxx index 540c1e261f..1916a7acfb 100644 --- a/src/OpenGl/OpenGl_Workspace.cxx +++ b/src/OpenGl/OpenGl_Workspace.cxx @@ -771,6 +771,7 @@ void OpenGl_Workspace::RedrawImmediate (const Graphic3d_CView& theCView, && isDoubleBuffer) { copyBackToFront(); + glFlush(); } else {