Correct parameter number.

This commit is contained in:
Bartosz Taudul 2019-03-05 19:48:02 +01:00
parent e798f0f28d
commit 364c20a771

View File

@ -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 );