mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
Fixed compile error.
This commit is contained in:
parent
b42819a87a
commit
dfdd644fdb
1 changed files with 2 additions and 2 deletions
|
@ -347,11 +347,11 @@ namespace bgfx
|
|||
BX_UNUSED(err); \
|
||||
} while (0)
|
||||
|
||||
#define IGNORE(...) do {} while(0)
|
||||
#define IGNORE_GL_ERROR_CHECK(...) do {} while(0)
|
||||
|
||||
#if BGFX_CONFIG_DEBUG
|
||||
# define GL_CHECK(_call) _GL_CHECK(BX_CHECK, _call)
|
||||
# define GL_CHECK_I(_call) _GL_CHECK(IGNORE, _call)
|
||||
# define GL_CHECK_I(_call) _GL_CHECK(IGNORE_GL_ERROR_CHECK, _call)
|
||||
#else
|
||||
# define GL_CHECK(_call) _call
|
||||
# define GL_CHECK_I(_call) _call
|
||||
|
|
Loading…
Reference in a new issue