From f3c32a880a426d8365f01ba7d61d81b75c04d9bc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 10 Mar 2024 20:59:17 +0100 Subject: Fix cursor capture in nvidia wayland, hdr, clear background immediately in window capture --- src/capture/kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/capture/kms.c') diff --git a/src/capture/kms.c b/src/capture/kms.c index 292bd13..0b75b1f 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -349,7 +349,7 @@ bool gsr_capture_kms_capture(gsr_capture_kms *self, AVFrame *frame, bool hdr, bo gsr_color_conversion_draw(&self->base.color_conversion, self->base.cursor_texture, cursor_pos, cursor_size, (vec2i){0, 0}, cursor_size, - texture_rotation, false); + texture_rotation, cursor_texture_is_external); } self->base.egl->eglSwapBuffers(self->base.egl->egl_display, self->base.egl->egl_surface); -- cgit v1.2.3