Black window after error

Black window after error

I have a Win32 application using an OpenGL based window.
Now it happens, when my program ends in an uncontrolled way (e.g. access violation), the next time I run the program the OpenGL window is complete black, while normally my window is white. (The program is executed via the menu the Visual Studio)
The only way I know to get a correct window is to restart Windows.
Can anyone tell me if there is a way to get the correct window without restarting Windows?

Guus.

1 contenuto / 0 nuovi
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione