aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-09-08 11:34:14 +0200
committerdec05eba <dec05eba@protonmail.com>2023-09-08 11:34:14 +0200
commitbccb5ba8f44f1c33ffcfa08c67b5778ddc65c948 (patch)
treee534a426945425cd5070a22fa3e43ff8e730405f /src/egl.c
parente4d094d605b2acc8fa6c1a213b42a31a44083ece (diff)
p
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/egl.c b/src/egl.c
index 9e1d54d..a498089 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -554,11 +554,7 @@ void gsr_egl_unload(gsr_egl *self) {
}
bool gsr_egl_supports_wayland_capture(gsr_egl *self) {
- // TODO: wlroots capture is broken right now (black screen) on amd and multiple monitors
- // so it has to be disabled right now. Find out why it happens and fix it.
- (void)self;
- return false;
- //return !!self->wayland.export_manager && self->wayland.num_outputs > 0;
+ return !!self->wayland.export_manager && self->wayland.num_outputs > 0;
}
bool gsr_egl_start_capture(gsr_egl *self, const char *monitor_to_capture) {