Net OpenGL support on MacOS X with a full-screen monitor with multiple monitors

I am working on an application based on OpenGL. I used GLUT to adjust the screen, but ran into a problem.

When connecting a second monitor, I would like to set up another window with a different viewport, but using glut, I can set up only one full-screen view that covers both monitors.

My question is: how do I configure two full-screen windows under MacOSX, what should I use? It seems that this is not possible with respect to GLUT, I need to use X11 or I can use some more built-in frameworks.

+3
source share
1 answer

NSWindow NSOpenGLView NSView NSOpenGLContext . Apple . [NSScreen mainScreen]. , [NSScreen screens], .

+2

All Articles