kami-blue / client

ARCHIVED - KAMI Blue: a continuation of 1.12.2 KAMI
https://kamiblue.org
GNU Lesser General Public License v3.0
360 stars 380 forks source link

Negative FPS values in the FPS hud element #2201

Open Toasterbirb opened 3 years ago

Toasterbirb commented 3 years ago

Describe the bug

FPS GUI element works like a counter and it even goes to negative values like -20 if the fps is capped to too low values (like 30). After uncapping the fps and then setting it back to 30, the fps meter went to like -700 after starting counting down from 30 again.

To Reproduce

  1. Have FPS capped to 30 or less

Expected behavior

FPS GUI element shows correct fps values (or at least over 0)

Debug info

Debug info

Additional context / media

Negative fps Negative fps + min and max