mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +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:
parent
4151c94d20
commit
0c33a0bf4d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user