CGDirectDisplay and OpenGL?
What is this I see in the CGDirectDisplay about CGGetDisplaysWithOpenGLDisplayMask(
CGOpenGLDisplayMask mask, CGDisplayCount maxDisplays, CGDirectDisplayID * dspys, CGDisplayCount * dspyCnt)?
What is an OpenGLDisplayMask. Sorry if that seems obvious, but I'm new to OpenGL.
CGOpenGLDisplayMask mask, CGDisplayCount maxDisplays, CGDirectDisplayID * dspys, CGDisplayCount * dspyCnt)?
What is an OpenGLDisplayMask. Sorry if that seems obvious, but I'm new to OpenGL.
It lets you match OpenGL pixel formats to the displays they support. By default, your pixel format will match all the displays, so you can safely ignore it.
Basically, it's only useful in a situation where the user has two monitors driven by different cards with vastly different graphics capabilities -- eg. one card has stencil buffer support and the other doesn't.
Basically, it's only useful in a situation where the user has two monitors driven by different cards with vastly different graphics capabilities -- eg. one card has stencil buffer support and the other doesn't.
Oh okay. Thanks.

