mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
docs: fix framerate limit when osr with shared texture (#49705)
This commit is contained in:
@@ -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()`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user