mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-19 06:16:16 +00:00
Workaround C4127 MSVC level 4 warning.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user