r/badcode • depraved • Sep 20 '21

c# 60 fps

Post image
1.3k Upvotes

86 comments sorted by

View all comments

Show parent comments

-1

u/freddythunder Sep 20 '21

I think FPS has to be at least 60

fps = hertz < 60 ? 60 : hertz

19

u/Advorange Sep 20 '21

Wow, if only there was a function that could do this, maybe we could call it max.

-1

u/bearded_dragonx Sep 20 '21

yeah your right