views:

17

answers:

1

How to wire up the values for glDrawElements? I need a simple textured square example (2 face, normals, textCoords, nothin' more).

I tried to do it (the arrays at glDrawArrays implementation works fine, but something went wrong when I create the indices and all), but the screen was empty.

Please shed me a light, I've googled the whole net now.

A: 

Possible duplicate of : iphone opengles glDrawElements issue

raaz