openGL and dual monitor

hi, i am writing an application that uses glut, on execution, the app opens an opengl window and draw stuff in it using glDrawPixels,

everything works fine i.e the stuff in the opengl window shows up, until i plug another monitor in the video card and turned on dual monitor mode,

now the opengl window doenst draw anything…

i assume this has something to do with the frame buffer got split into 2 for 2 monitors?

any idea what went wrong?

thanks in advance


Well there is a left and right buffer, but I this has to do with stereo rendering. I don’t know if dual monitors would fall into this category. Check it out, maybe you need to render into the left or right buffer (where each one has a back and front buffer…)