Workaround C4127 MSVC level 4 warning.

This commit is contained in:
Branimir Karadžić
2014-06-08 20:57:39 -07:00
parent 0f330a7a08
commit 0728b91bfa
9 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ namespace bgfx
{ \
BX_TRACE("wgl %p " #_func " (" #_import ")", _func); \
} \
BGFX_FATAL(_optional || NULL != _func, Fatal::UnableToInitialize, "Failed to create OpenGL context. wglGetProcAddress(\"%s\")", #_import); \
BGFX_FATAL(BX_IGNORE_C4127(_optional) || NULL != _func, Fatal::UnableToInitialize, "Failed to create OpenGL context. wglGetProcAddress(\"%s\")", #_import); \
} \
}
# include "glimports.h"