• Advertisement

Archived

This topic is now archived and is closed to further replies.

glBindTexture in display list?

This topic is 5829 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I didn''t realize until just now that you can put glBindTexture in an object''s display list. I assume that''s way more efficient than always calling glBindTexture right before you draw the display list itself. But my question then is: if I later on want to change that texture, is it possible to somehow update it, or do I have to again resort to always calling glBindTexture every game loop?

Share this post


Link to post
Share on other sites
Advertisement
from the OpenGL documentation it seems that "glTexImage1D" and "glTexImage2D" are also valid in a display list.

To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.

Share this post


Link to post
Share on other sites

  • Advertisement