Skip to content

Commit 6caab1e

Browse files
committed
fix(windows): temporarily disable impeller startup regression
Track the workaround in issue #9 and upstream flutter/flutter#191860.
1 parent 66e08f2 commit 6caab1e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎windows/runner/main.cpp‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
7272
}
7373

7474
flutter::DartProject project(L"data");
75+
// Temporarily use Skia on Windows while Impeller startup regression
76+
// flutter/flutter#191860 remains unresolved. Revisit when the upstream fix
77+
// is available; this preserves the faster steady-state renderer choice for
78+
// other platforms.
79+
project.set_impeller_switch(flutter::ImpellerSwitch::Disabled);
7580

7681
std::vector<std::string> command_line_arguments =
7782
GetCommandLineArguments();

0 commit comments

Comments
 (0)