[client] egl: use eglGetPlatformDisplay(EXT) if possible

This commit is contained in:
Geoffrey McRae
2021-01-25 16:04:33 +11:00
parent 837858c214
commit 9e96156912
3 changed files with 38 additions and 27 deletions

View File

@@ -23,6 +23,10 @@ struct EGLDynProcs g_dynprocs = {0};
void egl_dynProcsInit(void)
{
g_dynprocs.eglGetPlatformDisplay = (eglGetPlatformDisplayEXT_t)
eglGetProcAddress("eglGetPlatformDisplay");
g_dynprocs.eglGetPlatformDisplayEXT = (eglGetPlatformDisplayEXT_t)
eglGetProcAddress("eglGetPlatformDisplayEXT");
g_dynprocs.glEGLImageTargetTexture2DOES = (glEGLImageTargetTexture2DOES_t)
eglGetProcAddress("glEGLImageTargetTexture2DOES");
};