mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-06 06:50:43 +09:00
Fix cursor flicker on nvidia when capturing monitor
Thanks to David Kleuker for bug testing
This commit is contained in:
@@ -523,4 +523,7 @@ void gsr_egl_swap_buffers(gsr_egl *self) {
|
||||
self->glFlush();
|
||||
// TODO: Use the minimal barrier required
|
||||
self->glMemoryBarrier(GL_ALL_BARRIER_BITS); // GL_SHADER_IMAGE_ACCESS_BARRIER_BIT
|
||||
// TODO: This is needed on nvidia because the cursor can flicker otherwise. Find a better solution
|
||||
if(self->gpu_info.vendor == GSR_GPU_VENDOR_NVIDIA)
|
||||
self->glFinish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user