From: kgv Date: Wed, 14 Feb 2018 13:10:48 +0000 (+0300) Subject: 0029507: Visualization, TKOpenGl - uninitialized class field OpenGl_FrameBuffer:... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=aeba49f7b3cb1f7762c9ce471bf09b56f79cded4;p=occt-copy.git 0029507: Visualization, TKOpenGl - uninitialized class field OpenGl_FrameBuffer::myIsOwnDepth --- diff --git a/src/OpenGl/OpenGl_FrameBuffer.cxx b/src/OpenGl/OpenGl_FrameBuffer.cxx index f58dd92276..aa515ac950 100644 --- a/src/OpenGl/OpenGl_FrameBuffer.cxx +++ b/src/OpenGl/OpenGl_FrameBuffer.cxx @@ -162,6 +162,7 @@ OpenGl_FrameBuffer::OpenGl_FrameBuffer() myGlColorRBufferId (NO_RENDERBUFFER), myGlDepthRBufferId (NO_RENDERBUFFER), myIsOwnBuffer (false), + myIsOwnDepth (false), myDepthStencilTexture (new OpenGl_Texture()) { myColorFormats.Append (GL_RGBA8);