From c0a68e20636b4ad1f3cbc3cd095705770acbc162 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 23 Mar 2022 15:11:46 +0100 Subject: Readd nvfbc cursor capture --- include/NvFBCLibrary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/NvFBCLibrary.hpp b/include/NvFBCLibrary.hpp index 2cc09d8..1d7402e 100644 --- a/include/NvFBCLibrary.hpp +++ b/include/NvFBCLibrary.hpp @@ -122,7 +122,7 @@ public: memset(&create_capture_params, 0, sizeof(create_capture_params)); create_capture_params.dwVersion = NVFBC_CREATE_CAPTURE_SESSION_PARAMS_VER; create_capture_params.eCaptureType = NVFBC_CAPTURE_SHARED_CUDA; - create_capture_params.bWithCursor = NVFBC_FALSE; + create_capture_params.bWithCursor = NVFBC_TRUE; if(capture_region) { create_capture_params.captureBox = { x, y, width, height }; *display_width = width; -- cgit v1.2.3