In handmade_debug.cpp, line 486, the less than symbol should be greater than.

You copied the condition from the LaneCount, and that was looking for the highest number, but FrameBarScale is being set to FLT_MAX, therefore you're never going to find something that is greater than it.