From 37c67c2da8cd9863911d88221717733bb4139d34 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 10 Jun 2025 10:24:01 +0800 Subject: [PATCH] (macos) create render target texture with isStencil:false --- .../thermion_flutter/macos/Classes/ThermionFlutterTexture.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_flutter/thermion_flutter/macos/Classes/ThermionFlutterTexture.swift b/thermion_flutter/thermion_flutter/macos/Classes/ThermionFlutterTexture.swift index 6583344c..86594ffd 100644 --- a/thermion_flutter/thermion_flutter/macos/Classes/ThermionFlutterTexture.swift +++ b/thermion_flutter/thermion_flutter/macos/Classes/ThermionFlutterTexture.swift @@ -10,7 +10,7 @@ public class ThermionFlutterTexture : NSObject, FlutterTexture { init(registry:FlutterTextureRegistry, width:Int64, height:Int64) { self.registry = registry - self.texture = ThermionTextureSwift(width:width, height: height, isDepth: false) + self.texture = ThermionTextureSwift(width:width, height: height, isDepth: false, isStencil: false) // if you need to debug // self.texture.fillColor() // let imageURL = URL(fileURLWithPath: "/Users/nickfisher/Documents/thermion/thermion_dart/test/assets/cube_texture_512x512.png")