aboutsummaryrefslogtreecommitdiff
path: root/include/NvFBCLibrary.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-23 15:11:46 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-23 15:11:46 +0100
commitc0a68e20636b4ad1f3cbc3cd095705770acbc162 (patch)
tree8bc7aaf366337d1b69c6ecd98b5ba01e2d657eb8 /include/NvFBCLibrary.hpp
parent3087f3ce12c1e8fe66e050c0780071a2550744ad (diff)
Readd nvfbc cursor capture
Diffstat (limited to 'include/NvFBCLibrary.hpp')
-rw-r--r--include/NvFBCLibrary.hpp2
1 files changed, 1 insertions, 1 deletions
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;