mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed compile error.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user