I'm creating my QCRenderer with:

    mQCRenderer = [[QCRenderer alloc]
        initOffScreenWithSize: mMovieSize
        colorSpace: NULL
        composition: comp];


According to the docs, colorSpace is "A Quartz color space object. This must be 
an RGB color space. Pass NULL to use the default RGB color space."

However, when I do that, I get an exception:

-[QCRenderer initOffScreenWithPixelFormat:size:colorSpace:patch:]: Argument 
"colorSpace" does not verify "(CGColorSpaceGetModel(colorSpace) == 
kCGColorSpaceModelRGB) && (CGColorSpaceGetType(colorSpace) != 
kCGColorSpaceDeviceRGB)"

Is this a bug in the docs or the method?

-- 
Rick

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to