fix: addDestroySwapchain argument to createViewer() (true by default). This is only used on iOS/macOS where a single swapchain is shared between all render targets

This commit is contained in:
Nick Fisher committed 2025-07-07 17:37:28 +08:00
1 parent 3c1b26af2c
commit 353b33b7c3
3 files changed
+13 -9

No files matched your search

@@ -65,7 +65,7 @@ abstract class ThermionFlutterPlatform extends PlatformInterface {
///
///
///
Future<ThermionViewer> createViewer() {
Future<ThermionViewer> createViewer({bool destroySwapchain = true}) {
throw UnimplementedError();
}