• Advertisement
Sign in to follow this  

find maximum texture size

This topic is 4506 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can you find the maximum texture width and height for a particular graphics card? I read somewhere there was a function to do it, I just can't remember or find it.

Share this post


Link to post
Share on other sites
Advertisement
glGetIntegerv( GL_MAX_CUBE_MAP_TEXTURE_SIZE , &gMaxCUBETextureSize );
glGetIntegerv( GL_MAX_TEXTURE_SIZE , &gMax2DTextureSize );

max width and max height is the same size.

greetz

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement