mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Correct parameter number.
This commit is contained in:
parent
e798f0f28d
commit
364c20a771
@ -311,7 +311,7 @@ static inline int LuaZoneBeginNS( lua_State* L )
|
||||
#ifdef TRACY_CALLSTACK
|
||||
const uint32_t depth = TRACY_CALLSTACK;
|
||||
#else
|
||||
const auto depth = uint32_t( lua_tointeger( L, 1 ) );
|
||||
const auto depth = uint32_t( lua_tointeger( L, 2 ) );
|
||||
#endif
|
||||
SendLuaCallstack( L, depth );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user