I had created a Interface(main)with a viewport in MFC,which viewport will run the opengl source code to render … Then i created one more dialog box to render as a (child) window to render other scene.
The problem is when i closed the child window.The contents of the child window still map on the main window.
Even i had used swapbuffers and double buffering .The over map just look like when we use single buffer to …
can anybody tell me what happen to my program?