PDA

View Full Version : Binding still active after calllist finishes?



09-13-2003, 02:44 PM
Hello Forum

first I bind I texture using
glBindTexture(GL_TEXTURE_2D, tex1);

next I call a list which also does a glBindTexture:
glCallList(list);

If I render a triangle after this, which texture will be displayed (ie which one is binded)? tex1 or texture of the list?

Thank you,

Thomas

mikael_aronsson
09-13-2003, 11:28 PM
OpenGL does not save or restore any state changes made in display lists, so the answer is yes.

Mikael