mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
dedee399d6
Previously the crate example incremented the angle of rotation of the cube every frame so depending on the framerate the cube might rotate too fast to see. This just changes it to calculate the rotation based on the elapsed time using a GTimer. The rate that frames are drawn is unaffected. Reviewed-by: Robert Bragg <robert@linux.intel.com> |
||
---|---|---|
.. | ||
android/hello | ||
cogl-crate.c | ||
cogl-hello.c | ||
cogl-x11-foreign.c | ||
cogl-x11-tfp.c | ||
cogland.c | ||
crate.jpg | ||
Makefile.am |