From fb916cbac114fee0b0a16dd3fa0fb8d01126ff93 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 27 Jan 2021 18:26:02 -0500 Subject: [PATCH] [host] nvfbc: always update cursor shape on startup This ensures that the top-left position of the cursor sprite is correctly computed. --- host/platform/Windows/capture/NVFBC/src/nvfbc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index bbcedea6..62c635a5 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -351,6 +351,8 @@ static CaptureResult nvfbc_getFrame(FrameBuffer * frame) static int pointerThread(void * unused) { + lgSignalEvent(this->cursorEvents[1]); + while(!this->stop) { LGEvent * events[2];