(macos) create render target texture with isStencil:false
This commit is contained in:
@@ -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