1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0027606: Visualization - view is blocking when MSAA has been overridden in graphics driver settings

OpenGl_View::blitBuffers() - try disabling MSAA on glBlitFramebuffer() failure
This commit is contained in:
kgv
2016-06-16 12:58:05 +03:00
committed by bugmaster
parent a13f2dc486
commit 7ccf8676cf
3 changed files with 41 additions and 2 deletions

View File

@@ -616,7 +616,8 @@ protected: //! @name Rendering properties
OpenGl_VertexBuffer myFullScreenQuadFlip;
Standard_Boolean myToFlipOutput; //!< Flag to draw result image upside-down
unsigned int myFrameCounter; //!< redraw counter, for debugging
Standard_Boolean myHasFboBlit;
Standard_Boolean myHasFboBlit; //!< disable FBOs on failure
Standard_Boolean myToDisableMSAA; //!< disable MSAA after failure
Standard_Boolean myTransientDrawToFront; //!< optimization flag for immediate mode (to render directly to the front buffer)
Standard_Boolean myBackBufferRestored;
Standard_Boolean myIsImmediateDrawn; //!< flag indicates that immediate mode buffer contains some data