aboutsummaryrefslogtreecommitdiff
path: root/src/capture/nvfbc.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-26 17:53:08 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-26 17:53:08 +0200
commit8ab1150fb83dbd719858a4d14c82ddf258d83f35 (patch)
tree4e6b259fea5130abbb644c3b0fc27790ece72d8f /src/capture/nvfbc.c
parentddbb2f63b740712616c68ae4dad85aa8dd6849e4 (diff)
Temp fix for nvfbc
Diffstat (limited to 'src/capture/nvfbc.c')
-rw-r--r--src/capture/nvfbc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c
index ee77a20..2aeb1de 100644
--- a/src/capture/nvfbc.c
+++ b/src/capture/nvfbc.c
@@ -185,9 +185,7 @@ static int gsr_capture_nvfbc_setup_handle(gsr_capture_nvfbc *self) {
NVFBC_CREATE_HANDLE_PARAMS create_params;
memset(&create_params, 0, sizeof(create_params));
create_params.dwVersion = NVFBC_CREATE_HANDLE_PARAMS_VER;
- create_params.bExternallyManagedContext = NVFBC_TRUE;
- create_params.glxCtx = self->params.egl->glx_context;
- create_params.glxFBConfig = self->params.egl->glx_fb_config;
+ create_params.bExternallyManagedContext = NVFBC_FALSE;
status = self->nv_fbc_function_list.nvFBCCreateHandle(&self->nv_fbc_handle, &create_params);
if(status != NVFBC_SUCCESS) {