Closed MrSlimeDiamond closed 1 year ago
Why is g_cur_fps
a float? You can just have it as an int and use %d
or %i
in the draw with your solution
I would recommend returning to mlugg's solution which is theoretically more responsive and accurate assuming it's actually only ran once a frame :skull:
@MrSlimeDiamond, there are lots of nitpicks there but overall i just don't like this approach - a continuous rolling average (maybe over a customisable time period if you're feeling fancy) is a much better solution. if you feel like taking a crack at it you're welcome to, otherwise i'm happy to implement it
Visual studio is really stupid and changed random thing at the bottom of src/SourceAutoRecord.vcxproj and i cant be bothered to fix it because it doesn't matter anyways