From 128a8938c6a47623f6356379529faf2d0784bd43 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 25 Jul 2023 22:10:25 +1000 Subject: [PATCH] [host] nvfbc: remove useless update of member --- host/platform/Windows/capture/NVFBC/src/nvfbc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index 24811479..d6e08dc9 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -860,9 +860,8 @@ static int pointerThread(void * unused) this->mouseHotY = pointer.hy; pointer.positionUpdate = true; - pointer.visible = this->mouseVisible; - pointer.x = this->mouseX - pointer.hx; - pointer.y = this->mouseY - pointer.hy; + pointer.x = this->mouseX - pointer.hx; + pointer.y = this->mouseY - pointer.hy; this->postPointerBufferFn(pointer); }