how do I get the texture width and height?

Member
Posts: 469
Joined: 2002.10
Post: #1
I've uploaded a texture with glTexImage2D(). How would I go about getting the width and height passed to that function without actually saving them?

---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB
Quote this message in a reply
Sage
Posts: 1,232
Joined: 2002.10
Post: #2
glGetTexLevelParameter
Quote this message in a reply
Member
Posts: 469
Joined: 2002.10
Post: #3
excellent. thanks.

---Kelvin--
15.4" MacBook Pro revA
1.83GHz/2GB/250GB
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  iPad Virtual keyboard height = 352 Baldock 0 4,395 Feb 3, 2011 04:36 AM
Last Post: Baldock
  Adding Height Segments to a polygon..!! leodeus 13 6,035 Oct 24, 2005 08:24 AM
Last Post: leodeus