
Originally Posted by
CRasterImage
I have a MFC app with a standard CView class.
Getting it to work with OpenGL wasn't difficult.
However, I have now added support for FSAA Multisampling and it isn't happening.
Everything checks out, but the multisamplling doesn't happen. (polygons are still jagged)
I am using code taken directly from a sample MFC project that works just fine.
The only difference, that I can see, has to do with when the pixelformat stuff happens.
The sample project does it after calling createwindow.
In my CView, I don't have that. I have an OnCreate() handler.
What is the right time and place to setup the opengl pixelformat for an MFC CView ?