opengl - Waiting for GLContext to be released -


was passed set of rendering library coded osg library , run on window environment.

in program, renderer exists member object in base class in c++. in class initiation function, neccessary steps initialize renderer , use function renderer class provide accordingly.

however, have tried delete base class, presumed renderer member object destroyed along it. however, when created instance of class, program crash when try access rendering function within renderer.

have enquired opinions on matter , told in windows, upon deleting class, renderer need release glcontext , might indeterminant time in windows environment pending upon hardware setup

is so? if so, steps take beside amending rendering source code(if it) resolve issue?

thanks

actually not deleting / releasing opengl context create memory leak nothing more. leaving opengl context around should not cause crash. in fact crashes yours cause of releasing object, that's still required other part of program, not releasing stuff should not cause crash yours.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -