Hi David,

I made it work eventually. I just figured out both the frame buffer and the 
render buffer must be bound before drawing. Now I have a fine blue screen, so I 
guess I can go ahead after a good sleep. :)

> Honestly my first question would be why not use GLKit (which the Xcode OpenGL 
> ES template should be using by default) instead? It pretty much sets up all 
> the expected bits for you.

I use the GLKit for matrix operations. It is very handy. But I like being able 
to tinker with OpenGL the hard way: I begun as a assembly kernel programer, I 
still appreciate low level APIs over higher abstractions!

Just a further question: on a CAEAGLLayer backed view, [view setNeedDisplay] 
does nothing, doesn’t it?

Thanks for your answer!
Vincent


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to