David Gow 35d045584d video: wayland: Support displays with a 0 refresh rate
Some wayland compositors report the refresh rate as 0. Since we want to
force a minimum refresh rate of 10 frames worth, we were dividing by the
reported refresh rate, causing a divide-by-zero.

If the refresh rate is 0, instead force a frame every second if no frame
callbacks are received.

This fixes bug #4785
2021-09-27 09:26:40 -04:00
2021-09-10 19:49:47 -07:00
2021-02-22 15:44:32 +03:00
2021-05-15 00:22:50 +03:00
2021-09-24 04:03:24 +03:00
2018-08-21 13:29:21 -07:00
2021-08-19 00:10:59 +02:00
2018-08-21 13:29:21 -07:00
2021-08-19 00:10:59 +02:00
2018-08-21 13:29:21 -07:00
2020-12-22 17:00:28 +03:00
2021-08-10 14:50:43 -07:00

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)

Description
Simple Directmedia Layer
Readme 92 MiB
Languages
C 56.9%
C++ 36.4%
Objective-C 2.3%
Shell 1.3%
M4 1%
Other 2%