aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-13 22:34:29 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-13 22:34:29 +0100
commitb0de8588f2f4a5204e9bc22218eed884fa741153 (patch)
tree6089c4688e9e65ce1f0d1ac3ee9709a020e0d942 /src/egl.c
parentf63409bdd758b80f3a4e414fd5cb5526e384c93a (diff)
Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c1
1 files changed, 1 insertions, 0 deletions
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" },