mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +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
|
#ifdef TRACY_CALLSTACK
|
||||||
const uint32_t depth = TRACY_CALLSTACK;
|
const uint32_t depth = TRACY_CALLSTACK;
|
||||||
#else
|
#else
|
||||||
const auto depth = uint32_t( lua_tointeger( L, 1 ) );
|
const auto depth = uint32_t( lua_tointeger( L, 2 ) );
|
||||||
#endif
|
#endif
|
||||||
SendLuaCallstack( L, depth );
|
SendLuaCallstack( L, depth );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user