Hi folks, I am trying to develop a demo application (DEM viewer) on iOS for educational purposes. I am fairly fluent with OpenGL but this my first try at an iOS app (I usually do OS X development). My problem is that albeit I seem to have abided by all terms of what’s described in the ‘Drawing with OpenGL ES’ document, nothing appears on screen.
I create a window/view controller/view with an opaque CAEAGLLayer. I alloc everything, EAGLContext, frame buffer, render buffer, call [_glContext renderBufferStorage:fromDrawable], etc. check if my frame buffer is complete (it is) and eventually I just try to clear the display to blue via a glClearColor (0, 0, 1, 1) in the -viewDidLoad: method (calling glFlush () immediately after). Nothing happens (on the simulator): I get a white screen. I have fiddled with some controls in IB, but to no avail. Has anybody any hint? Thanks! 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