From b0de8588f2f4a5204e9bc22218eed884fa741153 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 13 Mar 2025 22:34:29 +0100 Subject: Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time --- src/egl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/egl.c') diff --git a/src/egl.c b/src/egl.c index 3307f0f..7c9a877 100644 --- a/src/egl.c +++ b/src/egl.c @@ -288,6 +288,7 @@ static bool gsr_egl_load_gl(gsr_egl *self, void *library) { { (void**)&self->glTexParameteriv, "glTexParameteriv" }, { (void**)&self->glGetTexLevelParameteriv, "glGetTexLevelParameteriv" }, { (void**)&self->glTexImage2D, "glTexImage2D" }, + { (void**)&self->glTexSubImage2D, "glTexSubImage2D" }, { (void**)&self->glGetTexImage, "glGetTexImage" }, { (void**)&self->glGenFramebuffers, "glGenFramebuffers" }, { (void**)&self->glBindFramebuffer, "glBindFramebuffer" }, -- cgit v1.2.3-70-g09d2