From 935bca6fbb96e5dc812d11770baaf32beb3cdbcf Mon Sep 17 00:00:00 2001 From: routersys Date: Sat, 4 Jul 2026 11:07:17 +0900 Subject: [PATCH] =?UTF-8?q?native=E5=AE=9F=E8=A1=8C=E6=99=82=E3=81=AEpixel?= =?UTF-8?q?shader=E3=81=B8=E6=98=8E=E7=A4=BA=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- native/worker.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/native/worker.lua b/native/worker.lua index edd3b1b..05408b3 100644 --- a/native/worker.lua +++ b/native/worker.lua @@ -818,6 +818,10 @@ local function buildObject() } end +function obj.pixelshader() + error("obj.pixelshader is not supported on the native engine. Remove the --!native directive.", 2) +end + function obj.getobject(tag, frame) if type(tag) ~= "string" then return nil end if frame then frame = math.floor(frame) else frame = math.floor(obj.timelineframe or 0) end