Re: CGDisplaySetDisplayMode only working properly after calling twice in a row
Re: CGDisplaySetDisplayMode only working properly after calling twice in a row
- Subject: Re: CGDisplaySetDisplayMode only working properly after calling twice in a row
- From: Ken Thomases <email@hidden>
- Date: Wed, 21 May 2014 18:16:24 -0500
On May 21, 2014, at 5:45 PM, Matthias Dörfelt wrote:
> I just investigated this issue a little more. It only happens under one condition for me, which is that I created an NSOpenGLPixelFormat before the CGDisplay calls, i.e. this does not work as expected:
> while the same code without the creation of the NSOpenGLPixelFormat does. this is really really odd, is there any way to fix this? Bug?
Are you capturing the display before changing its mode? Does it make a difference if you do?
Does your Mac have dual GPUs that it automatically switches between? If so, does it make a difference if you force it to use the discrete GPU before running your test?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden