fix: linux syn

This commit is contained in:
Kingtous 2023-02-18 19:10:08 +08:00
parent 0f59fef831
commit 3e42db31d1
5 changed files with 111 additions and 37 deletions

View file

@ -36,6 +36,7 @@ class _MyAppState extends State<MyApp> {
if (textureId != -1) {
debugPrint("Texture register success, textureId=$textureId");
_textureRgbaRendererPlugin.getTexturePtr(key).then((value) {
debugPrint("texture ptr: $value");
setState(() {
texturePtr = value;
});