(macos) create render target texture with isStencil:false
This commit is contained in:
1 parent
66d3bf65fd
commit
37c67c2da8
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user