Hello Guest

Get the ID of the current bound texture?

  • 1 Replies
  • 6690 Views
*

Offline WiESi

  • **
  • 70
Get the ID of the current bound texture?
« on: February 17, 2005, 11:28:58 »
Hi!

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

WiESi

Get the ID of the current bound texture?
« Reply #1 on: February 17, 2005, 13:47:17 »
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...