Thank you, Corion!
I've found that the main trick is to call glutPostRedisplay too, e.g. instead of glutMainLoop
my $refresh_world = sub { glutMainLoopEvent; glutPostRedisplay; }; my $t; $t = AE::timer 0, 0.01, sub { $refresh_world->(); }; $refresh_world->(); AE::cv->recv;
In reply to Re^2: OpenGL and AnyEvent
by basiliscos
in thread OpenGL and AnyEvent
by basiliscos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |