diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-04 20:30:43 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-08 11:35:26 +0100 |
commit | 0d89378021b9e8913b521164d1bc436d9bc2630f (patch) | |
tree | c72f8ae7453aa7c6b4f149b1d6292d2292b6411b /src/capture/kms.c | |
parent | d0c221a233e0bc07e22cffb06ec3ae77a5f96010 (diff) |
Use opengl capture for nvfbc (prepare for vulkan capture without cuda)
Diffstat (limited to 'src/capture/kms.c')
-rw-r--r-- | src/capture/kms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c index d5c6918..32e5d3e 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -188,8 +188,8 @@ static vec2i swap_vec2i(vec2i value) { } bool gsr_capture_kms_capture(gsr_capture_kms *self, gsr_capture_base *base, AVFrame *frame, gsr_egl *egl, bool hdr, bool screen_plane_use_modifiers, bool cursor_texture_is_external) { - egl->glClearColor(0.0f, 0.0f, 0.0f, 1.0f); - egl->glClear(GL_COLOR_BUFFER_BIT); + //egl->glClearColor(0.0f, 0.0f, 0.0f, 1.0f); + egl->glClear(0); gsr_capture_kms_cleanup_kms_fds(self); |