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 initWithOpenGLContext returning nil



Hi,

in my application creation of an QCRenderer constantly fails - it returns an nil object.

For testing purposes I transplanted the (working) - applicationDidFinishLaunching method from /Developer/Examples/Quartz\ Composer/Player/main.m to my application controller object.
It gets invoked and fails to create an renderer - in this case bound to an fullscreen OpenGL context.


Also my other attempts creating an renderer bound to an (programmatically created) GL Context for an NSView fail. The code is derived from /Developer/Examples/Quartz\ Composer/Performer but changed to be used from an Document instead of an Application controller. In that case I use lazy initialisation to set up the Renderer. The GL context is fine, for testing purposes I put a routine drawing with OpenGL into it if creation of the QCRenderer fails.

The window that gets created has the same properties as the Performer sample window except it has an additional drawer..

What else are the prerequisites to create an QCRenderer?

Regards,
	Tom_E

_______________________________________________
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.