fix missing return values on platform channels for destroyTexture

This commit is contained in:
Nick Fisher
2023-10-13 11:22:08 +08:00
parent 05bc5b122e
commit 6327c8063b
3 changed files with 3 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ public class SwiftPolyvoxFilamentPlugin: NSObject, FlutterPlugin, FlutterTexture
self.flutterTextureId = nil
self.pixelBuffer = nil
self.metalTexture = nil
result(true)
case "resize":
let args = call.arguments as! [Any]
let width = UInt32(args[0] as! Int64)