PDA

View Full Version : how do I get the texture width and height?


kelvin
2005.03.14, 02:34 AM
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?

arekkusu
2005.03.14, 02:45 AM
glGetTexLevelParameter

kelvin
2005.03.14, 03:00 AM
excellent. thanks.