1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

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