1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0029507: Visualization, TKOpenGl - uninitialized class field OpenGl_FrameBuffer::myIsOwnDepth

This commit is contained in:
kgv 2018-02-14 16:10:48 +03:00 committed by apn
parent 0793c4f942
commit 12d6e15582

View File

@ -168,6 +168,7 @@ OpenGl_FrameBuffer::OpenGl_FrameBuffer()
myGlColorRBufferId (NO_RENDERBUFFER), myGlColorRBufferId (NO_RENDERBUFFER),
myGlDepthRBufferId (NO_RENDERBUFFER), myGlDepthRBufferId (NO_RENDERBUFFER),
myIsOwnBuffer (false), myIsOwnBuffer (false),
myIsOwnDepth (false),
myDepthStencilTexture (new OpenGl_Texture()) myDepthStencilTexture (new OpenGl_Texture())
{ {
myColorFormats.Append (GL_RGBA8); myColorFormats.Append (GL_RGBA8);