mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030748
: Visualization - Marker displayed in immediate layer ruins QT Quick view controls
OpenGl_Workspace::ResetAppliedAspect() now resets active texture unit to GL_TEXTURE0.
This commit is contained in:
@@ -204,6 +204,10 @@ void OpenGl_Workspace::ResetAppliedAspect()
|
||||
ApplyAspects();
|
||||
myGlContext->SetTypeOfLine (myDefaultAspects.Aspect()->LineType());
|
||||
myGlContext->SetLineWidth (myDefaultAspects.Aspect()->LineWidth());
|
||||
if (myGlContext->core15fwd != NULL)
|
||||
{
|
||||
myGlContext->core15fwd->glActiveTexture (GL_TEXTURE0);
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Reference in New Issue
Block a user