What is the correct behavior when both a 1D and a 2D texture are bound in OpenGL?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-06T22:27:38Z Indexed on 2010/05/07 4:28 UTC
Read the original article Hit count: 201

Filed under:
|
|

Say you have something like this:

glBindTexture(GL_TEXTURE_2D, my2dTex);
glBindTexture(GL_TEXTURE_1D, my1dTex);
glBegin...

What is the correct OpenGL behavior? To draw the 1d texture, the 2d or both? For each active texture are there actually multiple textures that can be bound to it at the same time (i.e. a 1d, 2d, 3d cube map, etc.)?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about texture-mapping