maxTextureSize?

According to the API list; the following is one of the params we can use for system.getInfo() :
“maxTextureSize” returns the maximum texture width or height supported by the device.

The lines states “width OR height”. I am using the following line in my code:

print( "TextureSize: " ..(system.getInfo( "maxTextureSize" )))

I believe it is returning the width, how do you go about returning the height? (…or Vice-Versa) Either way I am only getting one value. I was wondering how we are go about getting both values. I have search in all the locations I can find with no solutions.

Thanks for any assistance provided.

Rob
[import]uid: 16527 topic_id: 10317 reply_id: 310317[/import]

It’s presumed the max width and height are the same so there is only one value. This stems from OpenGL itself:
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maximumTextureSize);
[import]uid: 7563 topic_id: 10317 reply_id: 37651[/import]