I get a black screen instead my view

please help me to solve this problem.

I’m writting an MFC/OpenGl based 3D CAD program and on one
computer I’m getting a very strange beahvior.

each time I perform a redraw of the opengl vindow I get
a black window then
a gray window then
the correct view then
a black window then

in random order any ideas to were I’ve to look ??

On one other computer everithing seems to works fine.


many possible problems, i can only give you wild guesses without further information

-wrong draw buffer
-probs with swapbuffer
-clearbuffer somewhere were it doesn’t belong

hmm no more ideas right now


hm, maybe you havent disabled window redrawing (WM_ERASEBKGND)?