GLUT with Multisampling

Hello all,

I’m trying to activate FSAA in my GLUT-based application. It seems, that GLUT is using an outdated(?) extension. While searching for a solution all I found were examples using WGL. Since I’m using Linux this is of no help to me :slight_smile:

I tried

glutInitDisplayMode(... | GLUT_MULTISAMPLE)

but

glGetIntegerv(GL_SAMPLES) 

as well as

glutGet(GLUT_WINDOW_NUM_SAMPLES)

yield 0.

Can anyone give me a few hints on how to enable FSAA?
I would prefer to find a portable solution, but if there is none, maybe it is possible to modify the appropriate X datastructure (haven’t directly worked with X functions, yet).

Thanks four your help!
jagjag

Use GLFW instead of glut, and :
glfwOpenWindowHint(GLFW_FSAA_SAMPLES, 4)