native実行時のpixelshaderへ明示エラーを追加

このコミットが含まれているのは:
routersys committed 2026-07-04 11:07:17 +09:00
1 親 4c7ef12361
コミット 935bca6fbb
1ファイル変更
+4
+4
ファイルの表示
@@ -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