diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-22 01:24:23 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-22 01:24:23 +0200 |
commit | 37107bac8d1088f4f541afe99a7c9aea0801e99d (patch) | |
tree | 8ceace3ce014ca92591e36443cbeddea612e89f4 /src/egl.c | |
parent | f9a41041ec3c2f88033f1ec0dd32ed0270b75c2f (diff) |
Fix deskto portal capture on nvidia (add missing modifiers)
Diffstat (limited to 'src/egl.c')
-rw-r--r-- | src/egl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -358,11 +358,10 @@ static bool gsr_egl_load_egl(gsr_egl *self, void *library) { } static bool gsr_egl_proc_load_egl(gsr_egl *self) { - self->eglExportDMABUFImageQueryMESA = (FUNC_eglExportDMABUFImageQueryMESA)self->eglGetProcAddress("eglExportDMABUFImageQueryMESA"); - self->eglExportDMABUFImageMESA = (FUNC_eglExportDMABUFImageMESA)self->eglGetProcAddress("eglExportDMABUFImageMESA"); self->glEGLImageTargetTexture2DOES = (FUNC_glEGLImageTargetTexture2DOES)self->eglGetProcAddress("glEGLImageTargetTexture2DOES"); self->eglQueryDisplayAttribEXT = (FUNC_eglQueryDisplayAttribEXT)self->eglGetProcAddress("eglQueryDisplayAttribEXT"); self->eglQueryDeviceStringEXT = (FUNC_eglQueryDeviceStringEXT)self->eglGetProcAddress("eglQueryDeviceStringEXT"); + self->eglQueryDmaBufModifiersEXT = (FUNC_eglQueryDmaBufModifiersEXT)self->eglGetProcAddress("eglQueryDmaBufModifiersEXT"); if(!self->glEGLImageTargetTexture2DOES) { fprintf(stderr, "gsr error: gsr_egl_load failed: could not find glEGLImageTargetTexture2DOES\n"); |