aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-26 17:48:07 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-26 17:49:30 +0200
commitddbb2f63b740712616c68ae4dad85aa8dd6849e4 (patch)
tree1b5402270dbd8097f87e14543a41bdd7ccae9ef7 /src
parent51ee40f85db3dbf47421e2a7e4916ef76f2ca260 (diff)
Revert
Diffstat (limited to 'src')
-rw-r--r--src/capture/nvfbc.c2
-rw-r--r--src/egl.c4
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
diff --git a/src/egl.c b/src/egl.c
index 4da7c4d..4afb810 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -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,