(macos) create render target texture with isStencil:false

This commit is contained in:
Nick Fisher
2025-06-10 10:24:01 +08:00
parent 66d3bf65fd
commit 37c67c2da8

View File

@@ -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")