graphics: exclude overlay from screenshots (#865)

## Link to GitHub Issue or related Pull Request, if one exists
#0

## Description of change

Adds the `-screenshotoverlay` option.

By default, file screenshots exclude the Spice overlay. Enabling this
option captures screenshots after the overlay is rendered.

Also updates DX11 backend to allow screenshots even when overlay is
disabled.

## Testing
This commit is contained in:
bicarus
2026-08-13 23:21:46 -07:00
committed by GitHub
parent 82e0c053d0
commit c6cd72c528
9 changed files with 156 additions and 60 deletions
+2 -1
View File
@@ -320,7 +320,8 @@ namespace launcher {
OBSWebSocketHost,
OBSWebSocketPort,
OBSWebSocketPassword,
OBSWebSocketDebug
OBSWebSocketDebug,
ScreenshotIncludeOverlay
};
enum class OptionsCategory {