I am looking at this function, still need a way to post an external event to “main loop” and do not understand how / why this was posted elsewhere:
“put glutPostRedisplay in timer loop to be executed when timer expires”
Since the OpenGL process is “stuck” in glutMainLoop(); how it can run a (software) timer loop ?
Also putting glutPostRedisplay; inside callback function which does display already seems illogical / redundant.
I there something amiss here?
Sure looks as it is a time to ditch "glutMainLoop " “closed loop” concept - for my task.