浏览代码

Fixed issue #2279.

Бранимир Караџић 5 年之前
父节点
当前提交
5453faacf1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/glcontext_egl.cpp

+ 1 - 1
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                                      \