Multisampling w/MFC?

I’m looking for an example or source code that shows how to do multi-sampling using OpenGL
and MFC SDI (single document interface). Apparently with multi-sampling, you have to
create a rendering context, get the multi-sampling pixel format, destroy the rendering context,
then create another window with the new pixel format, but I’m not quite sure how to do this
with the MFC framework. My attempts only crash the app.

Also, I’m curious to know if I wanted to use multi-sampling with multiple windows,
will that affect performance greatly?

Ok, here’s an OpenGL multi-sampling demo:
http://www.geocities.com/gatordemos/index.html

Someone tell me if it works on their machine.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.