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

0028615: Visualization, TKOpenGl - enabling MSAA leads to black screen on OpenGL ES

Removed redundant macros check.
This commit is contained in:
kgv
2017-04-02 16:48:26 +03:00
parent 1b6e3821be
commit ae61392c9b

View File

@@ -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);