aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-21 19:30:06 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-21 19:30:09 +0200
commitfc316750b81b870717e20cf00e09e0da159b1258 (patch)
tree1ef20dd7856d331d07e0b21985c1fb62cf6a58bc /src/main.cpp
parent8b0723a4f20b115c8d3394bcdf24b60b4895a345 (diff)
Fix monitor capture on amd/intel + x11
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ed1671d..cec3bca 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1472,6 +1472,7 @@ int main(int argc, char **argv) {
gsr_capture_kms_vaapi_params kms_params;
kms_params.egl = &egl;
+ kms_params.dpy = dpy;
kms_params.display_to_capture = capture_target;
kms_params.gpu_inf = gpu_inf;
kms_params.card_path = card_path;