Using a second monitor

#1

Does anyone know how to launch a window on my second monitor using freeglut. The second monitor is a left extension from my main one. glutInitPosition is not accepting negative values.

#2

Which GLUT are you using?

From this, it sounds like you might just need to switch to a different GLUT implementation, such as FreeGLUT:

#3

Thank you very much . I am trying to get freeglut installed

#4

I have reinstalled freeglut several times without any results. I have version 3.0 . I have also tried an old example from the link that you gave me and it did not work either. Thanks Bob

#5

I have managed to change the source code freeglut_init.c that has a condition to activate the flag fgState.Position.Use = GL_FALSE if the coordinates are negative. Thank you to all