From 5453faacf1bd6326c2064c41f1acdb95f61455d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 9 Oct 2020 09:52:00 -0700 Subject: [PATCH] Fixed issue #2279. --- src/glcontext_egl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glcontext_egl.cpp b/src/glcontext_egl.cpp index e5b3dcb18..551964dd6 100644 --- a/src/glcontext_egl.cpp +++ b/src/glcontext_egl.cpp @@ -470,7 +470,7 @@ EGL_IMPORT { \ if (NULL == _func) \ { \ - _func = bx::dlsym<_proto>(eglGetProcAddress(#_import) ); \ + _func = reinterpret_cast<_proto>(eglGetProcAddress(#_import) ); \ BX_TRACE("\t%p " #_func " (" #_import ")", _func); \ BGFX_FATAL(_optional || NULL != _func \ , Fatal::UnableToInitialize \