docs: fix framerate limit when osr with shared texture (#49705)

This commit is contained in:
reito
2026-02-09 22:18:06 +08:00
committed by GitHub
parent a3563422c4
commit 3fa3e91f90
2 changed files with 2 additions and 2 deletions

View File

@@ -2168,7 +2168,7 @@ Returns `boolean` - If _offscreen rendering_ is enabled returns whether it is cu
* `fps` Integer
If _offscreen rendering_ is enabled sets the frame rate to the specified number.
Only values between 1 and 240 are accepted.
When `webPreferences.offscreen.useSharedTexture` is `false` only values between 1 and 240 are accepted.
#### `contents.getFrameRate()`