OpenGL|ES tutorials - Follows NeHe track.

Nibbie
Posts: 4
Joined: 2008.11
Post: #14
arekkusu Wrote:No, the documentation clearly says (in section 2.8) that ColorPointer does not accept 3 as a size argument. This is one of the many differences between OpenGL and OpenGL ES.

It is a bug in the simulator that this is allowed through; future versions of the simulator will strictly enforce the ES limits.
Have a look at your XCode Documentation under glColorPointer:

Quote:size
Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
Quote this message in a reply
Post Reply 


Messages In This Thread
OpenGL|ES tutorials - Follows NeHe track. - Andy1988 - Nov 16, 2008 12:43 PM
Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Track down an autorelease bug kendric 2 3,050 Jun 28, 2009 05:09 AM
Last Post: kendric