aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-21 15:43:19 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-21 15:43:19 +0200
commiteddb07ac408fe80af0ffd88e85880f813c57642a (patch)
tree0039022efb2d145d2c7e2a757135dba954f3c14e /src/capture/portal.c
parentff6d46871387ebae99904602b51d619f8d6ae957 (diff)
Revert recent time framing and performance changes as it affects slower devices badly
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index 40e4581..58d16d9 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -333,9 +333,6 @@ static int gsr_capture_portal_capture(gsr_capture *cap, AVFrame *frame, gsr_colo
} else {
return 0;
}
-
- self->params.egl->glFlush();
- self->params.egl->glFinish();
const vec2i target_pos = { max_int(0, frame->width / 2 - self->capture_size.x / 2), max_int(0, frame->height / 2 - self->capture_size.y / 2) };