hey im totally new to openglES i’ve worked with opengl a lot. I think my code is correct, it basically comes from the redbook but it doesnt seem to update the frames. So i increased a counter with every frame and printed a message box to see if it’s updated. Weird thing is when i print the box it actually updates…
that’s my code:
the util functions are not necessary, oh and im using the emulator 2003 only atm.
You need to hook up a timer event to trigger repeated updates. I think the message box essentially invalidates your windows rect, that’s why you get a redraw.
The alpha3d.c demo from the redbook examples should demonstrate how to set up an animation loop.