View Full Version : Fullscreen over 2 monitors

11-23-2010, 05:17 AM

I want to view my application in fullscreen over two monitors. Is this possible?

When I set my application to "glFullScreen()" it is only fullscreened on primary monitor.

What else must I insert in my code to view it over two monitors in fullscreen?
Please help me.

11-23-2010, 07:38 AM
glFullScreen is not an OpenGL command.
What is your OS, video card and code framework ?

11-23-2010, 08:25 AM
of course I mean glutFullScreen. Sorry.
I work on Win 7, but I can switch to Linux if it only works there. I have a QuadroFX 380.

Does it work with a lower card? for example Geforce 9300M GS`?

I don't know what you mean with code framework? I use OpenGL, nothing else.

11-23-2010, 09:06 AM
He meant GLUT I think. Anyway, GLUT is quite old and I'm pretty sure it does not support multi-display full screen modes.
You should either try to find a more appropriate framework or just write your own window handling from scratch.

11-23-2010, 09:10 AM
I don't know what you mean with code framework? I use OpenGL, nothing else.
GLUT isn't OpenGL, it's a framework for handling windowing, input, etc (none of which are part of OpenGL) which is built around OpenGL.

11-23-2010, 11:03 AM
Yes, I use GLUT

11-24-2010, 12:38 AM
And how can I do fullscreen over two monitors now?

11-24-2010, 01:54 AM
As I already mentioned, if I'm correct, GLUT is not capable of it. You should either use a better framework or write your own.

11-24-2010, 07:01 AM
I got it. Is is possible via Game Mode:


Done. Thanks for your help.

11-24-2010, 08:01 AM
Good to know that. Then I'll never again underestimate the capabilities of GLUT :D