ppy / osu-framework

A game framework written with osu! in mind.
MIT License
1.67k stars 419 forks source link

Disable configuring frame limiter when using single-threaded mode under Metal #6406

Open frenzibyte opened 3 weeks ago

frenzibyte commented 3 weeks ago

Rather than directly bindable-disabling the FrameSync setting at a global level, I've went with a soft approach on this, by adding a separate bindable in GameHost indicating whether frame sync is configurable in the current combination of renderer & threading mode.

If this feels too soft, I can go the aggressive route, I'm just mainly concerned it may trip us in the future for when we invent a new place to configure the frame limiter.