michaeljclark / glkitty

port of the OpenGL gears demo to kitty terminal graphics protocol
89 stars 3 forks source link

kitty_gears run time #2

Open mrneilypops opened 3 years ago

mrneilypops commented 3 years ago

kitty_gears runs for 46 seconds and then stops. Is this by design? Debian Bullseye+dwm window manager.

michaeljclark commented 3 years ago

Somewhat by design. CPU load is a little higher than I liked so I added a frame count and set a conservative limit.

You can pass --frame-count -1 on the command-line. -1 is infinity for practical purposes. Well, it's a 32-bit counter so it should run for at least a year. In any case, I can make a patch if you want more than a year.

mrneilypops commented 3 years ago

Thanks for the info. That works nicely. A year should be more than enough lol.