diff --git a/src/tabs/viewer.cpp b/src/tabs/viewer.cpp index 4b642e5..32ebf95 100644 --- a/src/tabs/viewer.cpp +++ b/src/tabs/viewer.cpp @@ -4411,6 +4411,8 @@ SKIV_Image_CaptureDesktop (DirectX::ScratchImage& image, int flags = 0x0) pCursorOutput = pOutput; break; } + + pOutput = nullptr; } if (pCursorOutput != nullptr)