0024297: OpenGl_Texture::Release() might call OpenGL functions without active context
authorkgv <kgv@opencascade.com>
Tue, 29 Oct 2013 10:10:28 +0000 (14:10 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 31 Oct 2013 09:50:05 +0000 (13:50 +0400)
commitec2eeb2dfa13177e27450013fdd9728c5dac412a
treea70e460f78c1876550b07f45050a3446e05b6a33
parentd0cc1cb7e0cb911a0c21332bd10c2ec22a4422ed
0024297: OpenGl_Texture::Release() might call OpenGL functions without active context

Add check to Release() method of OpenGl_Texture, OpenGl_ShaderObject, OpenGl_ShaderProgram
src/OpenGl/OpenGl_ShaderObject.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_Texture.cxx