[client] egl: dynamically import glBufferStorageEXT

On some implementations (e.g. llvmpipe), the function can only be queried via
eglGetProcAddress.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-19 21:28:45 +10:00
1 parent 5a906131eb
commit 429620c48b
3 files changed
+7 -1

No files matched your search

+2
View File
@@ -40,6 +40,8 @@ void egl_dynProcsInit(void)
eglGetProcAddress("glDebugMessageCallback");
g_egl_dynProcs.glDebugMessageCallbackKHR = (glDebugMessageCallback_t)
eglGetProcAddress("glDebugMessageCallbackKHR");
g_egl_dynProcs.glBufferStorageEXT = (glBufferStorageEXT_t)
eglGetProcAddress("glBufferStorageEXT");
};
#endif