Get the ID of the current bound texture?

Started by WiESi, February 17, 2005, 11:28:58

Previous topic - Next topic

WiESi

Hi!

How can I get the ID of the current bound texture (previously bound using glBindTexture)?

WiESi

Orangy Tang

Odd. Should be gettable via glGetInteger(GL_TEXTURE_2D_BINDING), but I can't see that enum listed under glGet* in MSDN. Lists it under glBindTexture though...