In the course of developing the application under Windows I often stop debugging while the application is running and one or more OpenGl windows is active. I assume this does not release the video memory because after a while I get crashes coming from the videodriver with no apparent reason. The only way to stop the crashing is to restart the application. The application is quite complex with many visible and hidden OpenGL windows.
What happens if the application stops without releasing graphics context ? I would assume the driver could determine somehow that the process is not running anymore and release the resources automatically. Apparently this is not the case.
Is there a tool to check the videomemory leaks under Windows ?