Help with MFC

I’ve been learning MFC and can’t seem to get a OpenGL window in a MDI child window. When I try to SwapBuffer the whole screen goes black. Do you have any idear why?


google or something
Search for MFC + OpenGL

I have no idea why your whole screen goes black, but try someone elses code and compare with yours.