It’s been a while since I’ve done any OS X programming, but I recently
ran into a problem and was hoping there was a quick fix.
First time I ran a freshly compiled SDL app I got a bunch of
CGDisplayIsCaptured warnings. I Googled around and saw you can solve
the problem by unchecking the “automatic graphics switching” option in
the energy saver. Does anybody have a better way to solve this
problem? Even a programmatic way to disable the automatic switching
would be preferable to telling people the feature needs to be