Describe the bug
When using takePlayerScreenShot from the server, if the client is rendering a CEF browser (createBrowser + dxDrawImage/render target), the player's screen briefly flashes white when the screenshot is taken.
Expected Behavior
The screenshot should be captured without any visible screen flash.
Actual Behavior
The screen flashes white for a brief moment whenever the screenshot is taken.
Steps to reproduce
- Create a CEF browser on the client.
- Render the browser to the screen.
- Call takePlayerScreenShot from the server.
- Observe a white flash on the client's screen.
Version
MTA:SA release 1.6.x
Windows 10/11
Additional context
No response
Relevant log output
Security Policy
Describe the bug
When using
takePlayerScreenShotfrom the server, if the client is rendering a CEF browser (createBrowser+dxDrawImage/render target), the player's screen briefly flashes white when the screenshot is taken.Expected Behavior
The screenshot should be captured without any visible screen flash.
Actual Behavior
The screen flashes white for a brief moment whenever the screenshot is taken.
Steps to reproduce
Version
MTA:SA release 1.6.x
Windows 10/11
Additional context
No response
Relevant log output
Security Policy