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 --- src/egl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/egl.c') diff --git a/src/egl.c b/src/egl.c index 2ad4f85..2c139e6 100644 --- a/src/egl.c +++ b/src/egl.c @@ -488,7 +488,6 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) { // } bool gsr_egl_load(gsr_egl *self, Display *dpy, bool wayland, bool is_monitor_capture) { - (void)is_monitor_capture; memset(self, 0, sizeof(gsr_egl)); self->x11.dpy = dpy; self->context_type = GSR_GL_CONTEXT_TYPE_EGL; -- cgit v1.2.3