Original Post
I use these piece of code to find the maximum size of texture: int max; glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max); cout<<max<<endl; But the program generate different answers each time I run it. Why this happen? Also, what does GL_MAX_TEXTURE means? A texture can be size of max X max or size sqrt(max) X sqrt(max)?