View Full Version : auxiliary buffers

10-13-2002, 06:06 AM
When I query glGetIntegerv(GL_AUX_BUFFERS) I get the answer 0. How do I ask for using aux buffers (i.e. get more than 0 from my hardware)?

10-13-2002, 02:22 PM
Under GLFW (http://hem.passagen.se/opengl/glfw/) you use:

glfwOpenWindowHint( GLFW_AUX_BUFFERS, n )

...honestly, I have not tried it on my HW. You can get the number of aux buffers like this:

num_aux_buffers = glfwGetWindowParam( GLFW_AUX_BUFFERS );

10-14-2002, 07:08 AM
does anyone know how to do this in glut?

10-14-2002, 10:18 AM
Time to switch toolkits? http://www.opengl.org/discussion_boards/ubb/wink.gif

Looking at glutInitDisplayString: http://pyopengl.sourceforge.net/documentation/manual/glutInitDisplayString.3GLUT.html
...I can not find a way to specify auxiliary buffers with GLUT. (?) glutGet does not support it either. Maybe I'm looking at old docs?