jszczerbinsky / lwp

Multi-platform parallax wallpaper engine
MIT License
872 stars 12 forks source link

Add ability to set custom FPS in configs #50

Closed Raiondesu closed 1 year ago

Raiondesu commented 1 year ago

The times have come for high-refresh-rate monitors! 🖥\ This PR adds a new setting to the config: target_fps. It allows to indirectly set the SDL_Delay argument, by replacing the currently-hardcoded 1000 / 60 with 1000 / cfg.targetFPS.

The setting is added to: