From 25670bde904109e36da7716eb054db97bfdd1dc9 Mon Sep 17 00:00:00 2001 From: routersys Date: Wed, 1 Jul 2026 14:02:39 +0900 Subject: [PATCH] =?UTF-8?q?LuaJIT=E3=83=AF=E3=83=BC=E3=82=AB=E3=83=BC?= =?UTF-8?q?=E3=81=A7draw=5Fstate=E3=82=92=E3=83=95=E3=82=A3=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=83=89=E3=81=B8=E6=9B=B8=E3=81=8D=E5=87=BA=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- native/worker.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/worker.lua b/native/worker.lua index 2bd00bd..2157879 100644 --- a/native/worker.lua +++ b/native/worker.lua @@ -564,6 +564,8 @@ while true do local ok, err = pcall(compiledChunk) if ok then storeFields() + local ds = options.draw_state + if ds == nil then f64[62] = 0 elseif ds == false or ds == 0 then f64[62] = 2 else f64[62] = 1 end i32[OFF_PIXELSDIRTY] = dirty and 1 or 0 i32[OFF_STATUS] = 1 k32.SetEvent(doneEvent)