OpenGL|ES tutorials - Follows NeHe track.
cmason Wrote:Thanks very much for these tutorials. This is very helpful.
Note, however I am having trouble with Lesson 3 (adding colours to the triangle.) It keeps crashing on me. To make sure I didn't mistype something, I did a full copy and paste of the drawView function and it is still crashing.
It seems to be related to setting the colours, if I comment out the one line "glEnableClientState(GL_COLOR_ARRAY)", then it runs without crashing (but of course, the triangle is still white.
Note that I followed the template exactly as described and lesson 2 was fine.
Thanks a lot for any help!
As an update, Lesson 04 works fine as well with the triangle rotating, but again, I need to leave the color line commented out or it crashes.
|Messages In This Thread|
OpenGL|ES tutorials - Follows NeHe track. - cmason - Jan 26, 2009 07:13 AM
Possibly Related Threads...
|Track down an autorelease bug||kendric||2||3,057||
Jun 28, 2009 05:09 AM
Last Post: kendric