0029507: Visualization, TKOpenGl - uninitialized class field OpenGl_FrameBuffer:...
authorkgv <kgv@opencascade.com>
Wed, 14 Feb 2018 13:10:48 +0000 (16:10 +0300)
committerapn <apn@opencascade.com>
Thu, 15 Feb 2018 13:54:29 +0000 (16:54 +0300)
src/OpenGl/OpenGl_FrameBuffer.cxx

index 2fdf7bb..a3fa54f 100644 (file)
@@ -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);