View Full Version : strange problem about vertex array

09-14-2004, 09:46 AM
I was doing some debugging and find a strange error. I disabled client state of GL_VERTEX_ARRAY, GL_NORMAL_ARRAY, GL_COLOR_ARRAY, and texture array of GL_TEXTURE0_ARB and GL_TEXTURE1_ARB at the very start of rendering. During rendering, i'll enable those I need. Strange thing is if I disable texture coord array on GL_TEXTURE1_ARB at that place by


i lost texture coord value input on GL_TEXTURE0_ARB by TEXTURE_COORD_ARRAY. all texture coord seems to be the same and i get only one texel over all the mesh.

I don't know if I have explained it clearly, does anyone have some idea about anything wrong here?

09-14-2004, 02:20 PM
I think you meant to use glClientActiveTextureARB.

See here http://glintercept.nutty.org/Demo03/gliInterceptLog.xml
For a log example of using multi tex coords.

09-14-2004, 06:25 PM
omg, i messed up glClientActiveTextureARB with glActiveTextureARB :eek: thanks for pointing out that