For reference, I managed to get the app working without GC until the first few renderings (crash would occur just after), then could break on error in OpenGL profiler.
The error is due to this: glTexParameteri(GL_TEXTURE_RECTANGLE_EXT, GL_TEXTURE_WRAP_S, GL_REPEAT) which apparently is a bad combination (yet it does work, texture repeating), detected by QC. I changed it to GL_TEXTURE_2D. Thanks, Raphael On Nov 18, 2007 7:39 PM, Raphael Sebbe <[EMAIL PROTECTED]> wrote: > Hi, > > Well, this is not an option for me, OpenGL Profiler is broken for > garbage collected apps, mine won't work without GC. Do you have > another option to track that error ? > > Thank you > > Raphael > > > On Nov 16, 2007 5:50 PM, Pierre-Olivier Latour <[EMAIL PROTECTED]> wrote: > > Run your app under OpenGL Profiler with "break on error" and you will see > > which call fails > > > > Make sure you are not doing invalid GL stuff before calling QC > > > > > > > > On Nov 16, 2007, at 2:17 AM, Raphael [EMAIL PROTECTED] wrote: > > > > > > Hi, > > > > I've set up an OpenGL view in which I render using a QCRenderer. The first > > time I render it, I get this error in the log and nothing renders: > > *** OpenGL error 0x0500 (invalid enumerant) in function "-[QCOpenGLContext > > willPushRenderState:]" > > > > There are no more errors from the second rendering and after. > > > > This is a pretty simple composition taking CIImage and NSBitmapImageRep as > > inputs. > > > > Any advice on this ? > > > > Thanks, > > > > Raphael _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Quartzcomposer-dev mailing list ([email protected]) > > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/pol%40apple.com > > > > This email sent to [EMAIL PROTECTED] > > > > > > ________________________________ > > Pierre-Olivier Latour - [EMAIL PROTECTED] > > Technologist - Apple, Inc. > > > > > > > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

