aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-10 12:28:53 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-10 12:28:53 +0200
commit3f0a58a1e61de8094d9ebf9db320c01b59ab441f (patch)
treeabb78d5415741f73e1c46adf8e32abb627e3d5e3 /src/egl.c
parentf8453bcaa4b488aea601af632ab5656979eb6024 (diff)
Do not require a valid drm plane to capture a window on amd/intel x11
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c1
1 files changed, 0 insertions, 1 deletions
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;