allow null flutterTextureId in FlutterFilamentTexture
This commit is contained in:
1 parent
4705359b5f
commit
169acb4682
1 file changed
+2
-1
+2
-1
@@ -1,9 +1,10 @@
|
||||
class FlutterFilamentTexture {
|
||||
final int width;
|
||||
final int height;
|
||||
final int flutterTextureId;
|
||||
final int? flutterTextureId;
|
||||
final int? hardwareTextureId;
|
||||
final int? surfaceAddress;
|
||||
bool get usesBackingWindow => flutterTextureId == null;
|
||||
|
||||
FlutterFilamentTexture(this.flutterTextureId, this.hardwareTextureId,
|
||||
this.width, this.height, this.surfaceAddress) {
|
||||
|
||||
Reference in new issue
Block a user