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
2025-07-07 17:37:28 +08:00
parent 3c1b26af2c
commit 353b33b7c3
3 changed files with 13 additions and 9 deletions

View File

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