Skip to main content
gamedev.net
🔒 Locked

Efficiency???

Started by jaba Mar 22, 2003 at 6:15 PM 2 replies 350+ views
Original Post
jaba
jaba
What is more efficient: glDisable(GL_TEXTURE_2D) or glBindTexture(GL_TEXTURE_2D,0) thank you
Wavarian
Wavarian
Well.. look at them both.. Would it not be easier to temporarily disable texture mapping in contrast to removing a texture from memory?

Even then, if you disable texture mapping, you can always re-enable it and continue texturing objects with the same texture.
Hawkeye3
Hawkeye3
I do believe binding a texture takes significantly more time than toggling a state. Everywhere I''ve read says that you should minimize texture bindings because for performance reasons. Plus binding a null texture may cause strange results on some drivers...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.