This topic is now archived and is closed to further replies.

Really weird runtime error

This topic is 5434 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I''ve got a splitter window in my MFC application that has 4 seprate windows in it that use OpenGL. I aslo have in the OnDraw method, the OpenGL code to clear and swapbuffers. After this I have used the CDC point pDC to draw some text in the corner describing that view ports current perspective. Everything works fine until I maximize the window. The lower right-hand view port''s background color changes to a brighter shade. Would any of you might know what''s going on here.

Share this post

Link to post
Share on other sites
not sure, but for that viewport you might want to make sure your
glClearColor settings are correct..
you might''ve forgotten to set them, and after the maximize event it''s
picking up some garbage values.
worth a shot anyway

;another space monkey;
[ Forced Evolution Studios ]


Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

Share this post

Link to post
Share on other sites