Add support for floating point main callback rates

This commit is contained in:
nightmareci
2025-07-01 09:12:18 -07:00
committed by Ryan C. Gordon
parent 06cfea6a03
commit 9e6a6c01e4
2 changed files with 7 additions and 3 deletions

View File

@@ -2500,6 +2500,10 @@ extern "C" {
* This defaults to 0, and specifying NULL for the hint's value will restore
* the default.
*
* This doesn't have to be an integer value. For example, "59.94" won't be
* rounded to an integer rate; the digits after the decimal are actually
* respected.
*
* This hint can be set anytime.
*
* \since This hint is available since SDL 3.2.0.