From 071162fa724a31e9d0e8cc8f7997714ad73c47b5 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 26 Feb 2021 22:20:35 +0300 Subject: [PATCH] 0032179: Visualization - OpenGl viewer clears QML controls content during redraw on touchscreen device --- src/OpenGl/OpenGl_View_Redraw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenGl/OpenGl_View_Redraw.cxx b/src/OpenGl/OpenGl_View_Redraw.cxx index 7fd8d7eb19..c4acc8f426 100644 --- a/src/OpenGl/OpenGl_View_Redraw.cxx +++ b/src/OpenGl/OpenGl_View_Redraw.cxx @@ -1500,7 +1500,7 @@ bool OpenGl_View::blitBuffers (OpenGl_FrameBuffer* theReadFbo, #else aCtx->core20fwd->glClearDepthf (1.0f); #endif - aCtx->core20fwd->glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); + aCtx->core20fwd->glClear (GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); const bool toApplyGamma = aCtx->ToRenderSRGB() != aCtx->IsFrameBufferSRGB(); if (aCtx->arbFBOBlit != NULL -- 2.39.5