From: kgv Date: Wed, 14 Feb 2018 13:10:48 +0000 (+0300) Subject: 0029507: Visualization, TKOpenGl - uninitialized class field OpenGl_FrameBuffer:... X-Git-Tag: V7_3_0_beta~85 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=12d6e15582f35face9a4d986f2b0a850d6a131ca;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 2fdf7bb188..a3fa54f032 100644 --- a/src/OpenGl/OpenGl_FrameBuffer.cxx +++ b/src/OpenGl/OpenGl_FrameBuffer.cxx @@ -168,6 +168,7 @@ OpenGl_FrameBuffer::OpenGl_FrameBuffer() myGlColorRBufferId (NO_RENDERBUFFER), myGlDepthRBufferId (NO_RENDERBUFFER), myIsOwnBuffer (false), + myIsOwnDepth (false), myDepthStencilTexture (new OpenGl_Texture()) { myColorFormats.Append (GL_RGBA8);