TURBU Tech – For the TURBU engine, I’ve got a custom control that allows me to embed an OpenGL rendering context on a form. I was working on some new features, and I downloaded gDEBugger, an OpenGL debugging tool, to help out. One of the things it told me is that my rendering contexts were leaking. They shouldn’t be. I create the renderer in CreateWnd and I destroy it in DestroyWnd, which should get called as part of the component destruction process. But as it turns out, DestroyWnd is not actually called anywhere! By tracing through the VCL code, it looks like DestroyWnd is supposed to get ...
Visits by Source
Users who voted for this posting