Theocacao
Leopard
Design Element
Comment on "A Three-Pack of Core Animation Samples"
by George Dick — Dec 17
I had the same problem with needing to unplug my cinema display from my laptop... the image CGImageRef image was too large... This fixes it:
CGImageRef image = CGAutorelease(CGWindowListCreateImage( *(CGRect *)&displayBounds, kCGWindowListOptionOnScreenOnly, kCGNullWindowID, kCGWindowImageDefault));
Back to "A Three-Pack of Core Animation Samples"
Design Element

Copyright © Scott Stevenson 2004-2015