diff --git a/host/platform/Windows/capture/NVFBC/src/nvfbc.c b/host/platform/Windows/capture/NVFBC/src/nvfbc.c index 3c0f0c01..b287afd6 100644 --- a/host/platform/Windows/capture/NVFBC/src/nvfbc.c +++ b/host/platform/Windows/capture/NVFBC/src/nvfbc.c @@ -91,7 +91,8 @@ static void on_mouseMove(int x, int y) this->hasMousePosition = true; this->mouseX = x; this->mouseY = y; - lgSignalEvent(this->cursorEvents[0]); + if (this->cursorEvents[0]) + lgSignalEvent(this->cursorEvents[0]); } static const char * nvfbc_getName(void)