Question

In reshape() function, can I simply call the callback function display() instead of glutPostRedisplay()?

Was it helpful?

Solution

You could, but it wouldn't be a good idea. Just let the message handler do its job.

If you need more control over message handling and rendering, you should use GLFW.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top