mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0026862: Configuration - avoid usage of 3rd-party headers within OpenGl_View and D3DHost_View
Move Font_FTFont::Rect structure into dedicated header Font_FTFont. D3DHost_View, OpenGl_Font, Font_TextFormatter - use forward declarations. Fix regressions after #0024776 OpenGl_View::IsInvalidated() - fix misprint. D3DHost_View::Redraw() - assign myFBO before rendering. D3DHost_FrameBuffer::Init() - fix always zero viewport.
This commit is contained in:
@@ -147,7 +147,7 @@ public:
|
||||
Standard_EXPORT virtual void Invalidate() Standard_OVERRIDE;
|
||||
|
||||
//! Return true if view content cache has been invalidated.
|
||||
virtual Standard_Boolean IsInvalidated() Standard_OVERRIDE { return myBackBufferRestored; }
|
||||
virtual Standard_Boolean IsInvalidated() Standard_OVERRIDE { return !myBackBufferRestored; }
|
||||
|
||||
//! Displays z-buffer trihedron.
|
||||
Standard_EXPORT virtual void TriedronDisplay (const Aspect_TypeOfTriedronPosition thePosition = Aspect_TOTP_CENTER,
|
||||
|
Reference in New Issue
Block a user