Browse Source

Fixed issue #2279.

Бранимир Караџић 5 years ago
parent
commit
5453faacf1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/glcontext_egl.cpp

+ 1 - 1
src/glcontext_egl.cpp

@@ -470,7 +470,7 @@ EGL_IMPORT
 			{                                                                            \
 			{                                                                            \
 				if (NULL == _func)                                                       \
 				if (NULL == _func)                                                       \
 				{                                                                        \
 				{                                                                        \
-					_func = bx::dlsym<_proto>(eglGetProcAddress(#_import) );             \
+					_func = reinterpret_cast<_proto>(eglGetProcAddress(#_import) );      \
 					BX_TRACE("\t%p " #_func " (" #_import ")", _func);                   \
 					BX_TRACE("\t%p " #_func " (" #_import ")", _func);                   \
 					BGFX_FATAL(_optional || NULL != _func                                \
 					BGFX_FATAL(_optional || NULL != _func                                \
 						, Fatal::UnableToInitialize                                      \
 						, Fatal::UnableToInitialize                                      \