From b0de8588f2f4a5204e9bc22218eed884fa741153 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 13 Mar 2025 22:34:29 +0100 Subject: Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time --- include/capture/kms.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/capture/kms.h') 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; -- cgit v1.2.3-70-g09d2