5
votes

I want to develop one OpenGL application that is using the two monitors for display. However, if I specify the window size in glutInitWindowSize() to be the size which is the sum of the two monitors, then the result window is still always in one monitor, even though I can drag the window to another monitor or reshape.

Does OpenGL automatically detect another monitor and use the total size of the two monitors?

1
OpenGL is talking to the GPU, are you shure its talking to all GPU's? rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl - Ol Sen
Try Equalizer Framework. - Michael IV

1 Answers

5
votes

It's not OpenGL that is limiting the size of the window, it's GLUT.

You have to figure out a way to change the way GLUT sets up and creates a window. On Windows, it seems you can use win32 API to change these settings during runtime.