OpenGL multi sampling

How do I get OpenGL FSAA working using the multi sample buffer? I am using GLUT and don’t want to use Windows.…

demo excerpt:

glutInit(&argc, argv);
glutInitWindowSize(win_w, win_h);

// create a window with multisample antialiasing
int samples = 4;
char displayString[256];
sprintf(displayString, "double rgb~8 depth~16 samples~%d", samples);

glutCreateWindow("Anti-Aliasing with Post Processing");

a google for ‘opengl multisample’ will get you some more info.

hope this helps.