From 5b41d594da94fb68d1606c9bf69848893a9fe5c7 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 1 Jul 2025 10:22:07 +0800 Subject: [PATCH] on macOS/windows, always create stencil buffer by default --- .../lib/src/thermion_flutter_method_channel_platform.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart b/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart index 984b2bef..bc058eca 100644 --- a/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart +++ b/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart @@ -181,6 +181,7 @@ class ThermionFlutterMethodChannelPlatform extends ThermionFlutterPlatform { _swapChain = await FilamentApp.instance!.createHeadlessSwapChain( descriptor.width, descriptor.height, + hasStencilBuffer: true ); _logger.info(