[client] egl: use eglCreateImage and eglDestroyImage indirectly

The dmabuf path is optional, so we shouldn't require those functions to
link our program.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-09-29 17:48:50 +10:00
1 parent 5c7f168370
commit 072c54977e
4 files changed
+24 -10

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ struct EGLDynProcs
PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallback;
PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR;
PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT;
PFNEGLCREATEIMAGEPROC eglCreateImage;
PFNEGLDESTROYIMAGEPROC eglDestroyImage;
};
extern struct EGLDynProcs g_egl_dynProcs;