Jump to content
  • Advertisement
Sign in to follow this  
soconne

find maximum texture size

This topic is 4623 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!