PDA

View Full Version : A stupid question about texture coordinate.



yaomac
05-22-2002, 12:50 AM
If I use glDrawElements how can I indicate texture coordinate?

Mazy
05-22-2002, 01:16 AM
the index is used for all arrays that are enabled, you cant have separate indexes right now (think gl2.0 fixes that)

AdrianD
05-22-2002, 04:04 AM
glTexCoordPointer ?

yaomac
05-22-2002, 04:38 PM
Oh, I found it.
GL_TEXTURE_COORD_ARRAY