Allow the PROFILE macro to be used outside Urho3D namespace.
This commit is contained in:
parent
2c56c650af
commit
fdc9ae79ab
@ -256,7 +256,7 @@ private:
|
||||
};
|
||||
|
||||
#ifdef URHO3D_PROFILING
|
||||
#define PROFILE(name) AutoProfileBlock profile_ ## name (GetSubsystem<Profiler>(), #name)
|
||||
#define PROFILE(name) Urho3D::AutoProfileBlock profile_ ## name (GetSubsystem<Urho3D::Profiler>(), #name)
|
||||
#else
|
||||
#define PROFILE(name)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user