aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-18 03:21:16 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-18 03:21:16 +0200
commitb2644a9881ea65ff64234953fcd97664a60b98af (patch)
tree4938f694baa1f5e9541043285d819863cff93b0d /src/main.cpp
parent0a2806972f51109024a114a1c8ad5396e9d535c7 (diff)
Fix wayland capture on amd/intel
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 212aff5..7723bc2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1449,7 +1449,7 @@ int main(int argc, char **argv) {
kms_params.display_to_capture = capture_target;
kms_params.gpu_inf = gpu_inf;
kms_params.card_path = card_path;
- kms_params.wayland = false;//wayland;
+ kms_params.wayland = wayland;
capture = gsr_capture_kms_vaapi_create(&kms_params);
if(!capture)
_exit(1);