PDA

View Full Version : gluBuild2DMipmaps()



devdept
08-24-2008, 07:15 AM
Is there a way to know what dimensions this function has chosen after resizing a non square texture?

More generally, is there a way to know the active texture size?

Thanks,

Alberto

Seth Hoffert
08-24-2008, 07:21 AM
Look into glGetTexLevelParameter (http://opengl.org/sdk/docs/man/xhtml/glGetTexLevelParameter.xml). :)

devdept
08-24-2008, 07:23 AM
Just what I was looking for: Thanks!!!

Alberto