GL import fixes for Linux.

This commit is contained in:
bkaradzic
2014-02-19 20:53:06 -08:00
parent 0829795663
commit f554176645
2 changed files with 10 additions and 10 deletions

View File

@@ -223,8 +223,8 @@ namespace bgfx
{ \
if (NULL == _func) \
{ \
_func = (_proto)glXGetProcAddress((const GLubyte*)#_import); \
BX_TRACE(#_func " = " #_import " 0x%08x", _func); \
_func = (_proto)glXGetProcAddress( (const GLubyte*)#_import); \
BX_TRACE("%p " #_func " (" #_import ")", _func); \
BGFX_FATAL(_optional || NULL != _func, Fatal::UnableToInitialize, "Failed to create OpenGL context. glXGetProcAddress %s", #_import); \
} \
}