diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-26 17:48:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-26 17:49:30 +0200 |
commit | ddbb2f63b740712616c68ae4dad85aa8dd6849e4 (patch) | |
tree | 1b5402270dbd8097f87e14543a41bdd7ccae9ef7 /src | |
parent | 51ee40f85db3dbf47421e2a7e4916ef76f2ca260 (diff) |
Revert
Diffstat (limited to 'src')
-rw-r--r-- | src/capture/nvfbc.c | 2 | ||||
-rw-r--r-- | src/egl.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c index 589b9d5..ee77a20 100644 --- a/src/capture/nvfbc.c +++ b/src/capture/nvfbc.c @@ -189,8 +189,6 @@ static int gsr_capture_nvfbc_setup_handle(gsr_capture_nvfbc *self) { create_params.glxCtx = self->params.egl->glx_context; create_params.glxFBConfig = self->params.egl->glx_fb_config; - fprintf(stderr, "self->nv_fbc_function_list.nvFBCCreateHandle: %p\n", (void*)self->nv_fbc_function_list.nvFBCCreateHandle); - status = self->nv_fbc_function_list.nvFBCCreateHandle(&self->nv_fbc_handle, &create_params); if(status != NVFBC_SUCCESS) { // Reverse engineering for interoperability @@ -182,8 +182,8 @@ static GLXFBConfig glx_fb_config_choose(gsr_egl *self) { GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT, // TODO: - GLX_BIND_TO_TEXTURE_RGBA_EXT, 1, - GLX_BIND_TO_TEXTURE_TARGETS_EXT, GLX_TEXTURE_2D_BIT_EXT, + //GLX_BIND_TO_TEXTURE_RGBA_EXT, 1, + //GLX_BIND_TO_TEXTURE_TARGETS_EXT, GLX_TEXTURE_2D_BIT_EXT, GLX_DOUBLEBUFFER, True, GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, |