aboutsummaryrefslogtreecommitdiff
path: root/include/capture/kms.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-13 22:34:29 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-13 22:34:29 +0100
commitb0de8588f2f4a5204e9bc22218eed884fa741153 (patch)
tree6089c4688e9e65ce1f0d1ac3ee9709a020e0d942 /include/capture/kms.h
parentf63409bdd758b80f3a4e414fd5cb5526e384c93a (diff)
Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time
Diffstat (limited to 'include/capture/kms.h')
-rw-r--r--include/capture/kms.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/capture/kms.h b/include/capture/kms.h
index f359783..ce09817 100644
--- a/include/capture/kms.h
+++ b/include/capture/kms.h
@@ -5,9 +5,7 @@
typedef struct {
gsr_egl *egl;
- const char *display_to_capture; /* if this is "screen", then the first monitor is captured. A copy is made of this */
- gsr_color_depth color_depth;
- gsr_color_range color_range;
+ const char *display_to_capture; /* A copy is made of this */
bool hdr;
bool record_cursor;
int fps;