This commit is contained in:
Branimir Karadžić 2018-03-31 18:58:25 -07:00
parent 2c4e35508b
commit a5d9d33264

View File

@ -282,10 +282,11 @@ namespace bgfx
}
}
#define NVA_CHECK(_call) \
BX_MACRO_BLOCK_BEGIN \
int32_t __result__ = _call; \
#define NVA_CHECK(_call) \
BX_MACRO_BLOCK_BEGIN \
int32_t __result__ = _call; \
BX_CHECK(1 == __result__, #_call " FAILED 0x%08x\n", __result__); \
BX_UNUSED(__result__); \
BX_MACRO_BLOCK_END
void NvApi::setMarker(const bx::StringView& _marker)