From 3f0a58a1e61de8094d9ebf9db320c01b59ab441f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 10 Jun 2024 12:28:53 +0200 Subject: Do not require a valid drm plane to capture a window on amd/intel x11 --- include/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/utils.h b/include/utils.h index 74fdd59..58ef099 100644 --- a/include/utils.h +++ b/include/utils.h @@ -37,7 +37,7 @@ gsr_monitor_rotation drm_monitor_get_display_server_rotation(const gsr_egl *egl, bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info); /* |output| should be at least 128 bytes in size */ -bool gsr_get_valid_card_path(gsr_egl *egl, char *output); +bool gsr_get_valid_card_path(gsr_egl *egl, char *output, bool is_monitor_capture); /* |render_path| should be at least 128 bytes in size */ bool gsr_card_path_get_render_path(const char *card_path, char *render_path); -- cgit v1.2.3