fix iOS
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
import 'dart:ffi';
|
||||
|
||||
class FlutterFilamentTexture {
|
||||
final int width;
|
||||
final int height;
|
||||
final int flutterTextureId;
|
||||
final int hardwareTextureId;
|
||||
final int? hardwareTextureId;
|
||||
Pointer<Void>? surface;
|
||||
|
||||
FlutterFilamentTexture(
|
||||
this.flutterTextureId, this.hardwareTextureId, this.width, this.height);
|
||||
FlutterFilamentTexture(this.flutterTextureId, this.hardwareTextureId,
|
||||
this.width, this.height, int? surfaceAddress) {
|
||||
if (surfaceAddress != null) {
|
||||
surface = Pointer<Void>.fromAddress(surfaceAddress!);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user