From: kgv Date: Sun, 2 Apr 2017 13:48:26 +0000 (+0300) Subject: 0028615: Visualization, TKOpenGl - enabling MSAA leads to black screen on OpenGL ES X-Git-Tag: V7_2_0_beta~193 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=769a2e88e0288436119981fbc589d41aa08ca508;p=occt.git 0028615: Visualization, TKOpenGl - enabling MSAA leads to black screen on OpenGL ES Removed redundant macros check. --- diff --git a/src/OpenGl/OpenGl_View_Redraw.cxx b/src/OpenGl/OpenGl_View_Redraw.cxx index 37fcd9554e..30ad66016e 100644 --- a/src/OpenGl/OpenGl_View_Redraw.cxx +++ b/src/OpenGl/OpenGl_View_Redraw.cxx @@ -1089,7 +1089,6 @@ bool OpenGl_View::blitBuffers (OpenGl_FrameBuffer* theReadFbo, #endif aCtx->core20fwd->glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); -#if !defined(GL_ES_VERSION_2_0) if (aCtx->arbFBOBlit != NULL && theReadFbo->NbSamples() != 0) { @@ -1164,7 +1163,6 @@ bool OpenGl_View::blitBuffers (OpenGl_FrameBuffer* theReadFbo, } } else -#endif { aCtx->core20fwd->glDepthFunc (GL_ALWAYS); aCtx->core20fwd->glDepthMask (GL_TRUE);