OpenGL rendering error on losing focus

I was running a Marching Cubes implementation which creates a set of vertices which are stored in an std::vector.
The vertices are rendered using OpenGL displaylists. The application seems to work correctly when running within the Visual Studio IDE.
But on running the executable directly, the vertices are not rendered when the application was minimized or the
focus was altered in some way. The vertices are generated nevertheless, as they can be exported and viewed.
The application has a GUI made in MFC. The same issue was observed using VBOs instead of displaylists, so displaylist
does not seem to be the lone problem. Please provide your insights on this issue.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.