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);