diff options
author | dec05eba <dec05eba®protonmail.com> | 2023-04-22 00:46:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-22 02:13:11 +0200 |
commit | e1c613666ea394a2295a5cfb34c6c5e621876293 (patch) | |
tree | 44c27d2d74d2730a9db6f314492f2c439de1925f /src/main.cpp | |
parent | 2021456be0e7b55d12cb2d26bba0281c0c0d1a10 (diff) |
kms_vaapi: add cursor capture for amd/intel monitor capture
Always find largest drm buf, to fix some cases
when there are multiple planes and we accidentally
capture a drm buf that isn't the target buf.
We always want the full SCREEN drm buf.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 45bc77e..6f10a26 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1384,7 +1384,6 @@ int main(int argc, char **argv) { } gsr_capture_kms_vaapi_params kms_params; - kms_params.dpy = dpy; kms_params.display_to_capture = capture_target; kms_params.gpu_inf = gpu_inf; kms_params.card_path = card_path; |