fix: linux syn
This commit is contained in:
parent
0f59fef831
commit
3e42db31d1
5 changed files with 111 additions and 37 deletions
|
|
@ -41,8 +41,7 @@ class MethodChannelTextureRgbaRenderer extends TextureRgbaRendererPlatform {
|
|||
|
||||
@override
|
||||
Future<int> getTexturePtr(int key) async {
|
||||
// TODO: currently only supports Windows.
|
||||
if (!Platform.isWindows) {
|
||||
if (Platform.isMacOS) {
|
||||
return -1;
|
||||
}
|
||||
final ptr =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue