Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simultaneously updating windowed and fullscreen NSOpenGLContext's



I have a windowed NSOpenGLContext created with the following pixel format:

NSOpenGLPFANoRecovery,
NSOpenGLPFAColorSize, 24,
NSOpenGLPFADepthSize, 16,
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAccelerated,



When I go full screen I create a new context as such:

_fullScreenContext = [[NSOpenGLContext alloc] initWithFormat:pixelFormat shareContext: _sharedContext],

sharing the windowed context and having the same pixel format with the addition of NSOpenGLPFAFullScreen,

The fullscreen context is always on a second display, and I need both contexts to update simultaneously. Right now only one or the other contexts is updated. Is there an orthodox approach to updating both contexts simultaneously?

Thanks

Nick




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.