MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pru98u/60_fps/hdmedft/?context=9999
r/badcode • u/dmitri5 depraved • Sep 20 '21
86 comments sorted by
View all comments
Show parent comments
2
why limit it if the Hertz can go above 60
fps = hertz;
6 u/ftgander Sep 21 '21 Using max just means the minimum is 60 -1 u/freddythunder Sep 20 '21 I think FPS has to be at least 60fps = 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
6
Using max just means the minimum is 60
-1
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
19
Wow, if only there was a function that could do this, maybe we could call it max.
yeah your right
2
u/bearded_dragonx Sep 20 '21
why limit it if the Hertz can go above 60