three_dart
three_dart copied to clipboard
Crashed on windows 10 with 1050Ti
Example code is https://github.com/Remering/three_dart_playground, may be I don't know how to use this library, please help me. Thanks a lot!
Hi @Remering,
Not sure if you have solved your issue yet, but I noticed in your viewer.dart code you have
if (kIsWeb) {
await glPlugin.prepareContext();
}
please make this
Future.delayed(const Duration(milliseconds: 100), () async {
await glPlugin.prepareContext();
});
this might fix the crashing issue since prepareContext is needed for all platforms.
Hope this helps.