mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0027543: Samples - flickering when view is resized in MFC samples
Define proper window class for OpenGL window within overridden method CView::PreCreateWindow().
This commit is contained in:
@@ -43,7 +43,7 @@ void Sample2D_Text::Compute (const Handle(PrsMgr_PresentationManager3d)& /*aPres
|
||||
|
||||
asp->SetHorizontalJustification(myHAlign);
|
||||
asp->SetVerticalJustification(myVAlign);
|
||||
asp->Aspect()->SetTextZoomable(myIsZoomable);
|
||||
asp->Aspect()->SetTextZoomable(myIsZoomable == Standard_True);
|
||||
asp->Aspect()->SetTextAngle(myAngle);
|
||||
asp->Aspect()->SetTextFontAspect(myFontAspect);
|
||||
asp->SetHeight(myHeight);
|
||||
|
Reference in New Issue
Block a user