Fix monitor capture on amd/intel + x11
This commit is contained in:
@@ -1472,6 +1472,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
gsr_capture_kms_vaapi_params kms_params;
|
gsr_capture_kms_vaapi_params kms_params;
|
||||||
kms_params.egl = &egl;
|
kms_params.egl = &egl;
|
||||||
|
kms_params.dpy = dpy;
|
||||||
kms_params.display_to_capture = capture_target;
|
kms_params.display_to_capture = capture_target;
|
||||||
kms_params.gpu_inf = gpu_inf;
|
kms_params.gpu_inf = gpu_inf;
|
||||||
kms_params.card_path = card_path;
|
kms_params.card_path = card_path;
|
||||||
|
|||||||
Reference in New Issue
Block a user