mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0029138: Visualization - D3DHost_FrameBuffer should provide software fallback when WGL_NV_DX_interop is unavailable
D3DHost_FrameBuffer now provides fallback code copying OpenGL FBO content into D3D surface (slow). OpenGl_FrameBuffer::BufferDump() - FBO dump implementation has been moved from OpenGl_Workspace::BufferDump().
This commit is contained in:
@@ -800,7 +800,8 @@ bool OpenGl_View::redrawImmediate (const Graphic3d_Camera::Projection theProject
|
||||
#if !defined(GL_ES_VERSION_2_0)
|
||||
aCtx->core11fwd->glGetBooleanv (GL_DOUBLEBUFFER, &toCopyBackToFront);
|
||||
#endif
|
||||
if (toCopyBackToFront)
|
||||
if (toCopyBackToFront
|
||||
&& myTransientDrawToFront)
|
||||
{
|
||||
if (!HasImmediateStructures()
|
||||
&& !theIsPartialUpdate)
|
||||
|
Reference in New Issue
Block a user