Fix V8 OutlineCommand ABI to receive Lua state in ECX

This commit is contained in:
Dusk-92
2026-08-28 17:27:24 +02:00
parent 43839b2b41
commit 126f617ca1
+1 -1
View File
@@ -120,7 +120,7 @@ pub fn isEnabled() bool {
/// OutlineCommand() → returns (enabled: bool)
/// OutlineCommand("on") → enable outlines
/// OutlineCommand("off") → disable outlines
pub fn outlineCommand(L: lua.State) callconv(.{ .x86_fastcall = .{} }) u32 {
pub fn outlineCommand(L: lua.State) callconv(.{ .x86_thiscall = .{} }) u32 {
const nargs = luaGetTopNative(L);
if (nargs >= 1 and luaIsStringNative(L, 1)) {