find maximum texture size

Started by
0 comments, last by GhostAce 18 years, 5 months ago
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.
Author Freeworld3Dhttp://www.freeworld3d.org
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

This topic is closed to new replies.

Advertisement