glBindTexture in display list?

Started by
0 comments, last by Architekt 22 years, 3 months ago
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?
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.
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.

This topic is closed to new replies.

Advertisement