how to limit the GLUT window resize to a minimum size

Hi All,

I need limit my GLUT window to a minimum size, for instance, width no less than 300px and the same for height, is it possible?



In the reshape callback, call glutReshapeWindow if it’s too small.

Thanks, I did not know about this glut function.