Mailing Lists: Apple Mailing Lists

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

QCRenderer color space inconsistent state



All,

I am trying to configure a QCCompositionParameterView via the pickerView selection delegate method:

CGColorSpaceRef colorspace;

@try {

/* Create a processing-only QCRenderer that wraps the selected composition if any - We use the main display colorspace as we render on screen */

[_renderer release];

if(composition) {

colorspace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);

_renderer = [[QCRenderer alloc] initWithComposition:composition colorSpace:colorspace];

if(_renderer == nil) {

NSLog(@"Cannot create QCRenderer");

[NSApp terminate:nil];

}

}

else

_renderer = nil;

/* Make sure the QCCompositionParameterView targets the QCRenderer */

[parameterView setCompositionRenderer:_renderer];


This fails with the following error 

Exception when loading parameter view: -[QCRenderer initWithComposition:colorSpace:]: Inconsistent state

Any thougths?

Ben
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/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.