aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,