aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-15 20:39:02 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-15 20:39:02 +0200
commitc510bc5ae5099640869ae4a9a475339a5593e676 (patch)
tree65674357e79b277ccda35e3fd2c9ceee1ba2d83d /src/capture/kms_vaapi.c
parentc9c615d4c711618e66e95220643d3f97f9fc7b87 (diff)
Remove extra swapBuffer in kms capture
Diffstat (limited to 'src/capture/kms_vaapi.c')
-rw-r--r--src/capture/kms_vaapi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c
index ce97400..7bc2a0b 100644
--- a/src/capture/kms_vaapi.c
+++ b/src/capture/kms_vaapi.c
@@ -419,9 +419,6 @@ static int gsr_capture_kms_vaapi_capture(gsr_capture *cap, AVFrame *frame) {
cap_kms->dmabuf_fd = 0;
}
- // TODO: Remove
- cap_kms->egl.eglSwapBuffers(cap_kms->egl.egl_display, cap_kms->egl.egl_surface);
-
return 0;
}