1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-25 12:55:50 +03:00

0027579: Visualization, TKOpenGl - skip FSAA flag within Path Tracing

This commit is contained in:
isk 2016-06-08 14:33:49 +03:00 committed by bugmaster
parent 854e0d4a27
commit 473cddc1d9

View File

@ -2409,7 +2409,7 @@ Standard_Boolean OpenGl_View::runRaytraceShaders (const Standard_Integer
theGlContext->core20fwd->glDrawArrays (GL_TRIANGLES, 0, 6);
if (myRenderParams.IsAntialiasingEnabled)
if (myRenderParams.IsAntialiasingEnabled && !myRenderParams.IsGlobalIlluminationEnabled)
{
glDepthMask (GL_FALSE);