mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Sprinkled profiler macros.
This commit is contained in:
@@ -378,7 +378,11 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
|
||||
rmtError err = rmt_CreateGlobalInstance(&s_rmt);
|
||||
BX_WARN(RMT_ERROR_NONE != err, "Remotery failed to create global instance.");
|
||||
if (RMT_ERROR_NONE != err)
|
||||
if (RMT_ERROR_NONE == err)
|
||||
{
|
||||
rmt_SetCurrentThreadName("Main");
|
||||
}
|
||||
else
|
||||
{
|
||||
s_rmt = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user