Max Texture Size

Just wondering if there’s a size for textures loaded in openGL?

glGetInteger (GL_MAX_TEXTURE_SIZE_2D) or so (not sure, check out some documentation) will give you the answer.

Jan.

GL_MAX_TEXTURE_SIZE, I believe.

Also please note that the width and height of any texture you load normally must be a power-of-two. Textures like 64x64, 32x64, 512x128, 1024x1024 etc are all good, but things like 100x100 etc aren’t guaranteed to work without specific extensions being implemented.