fix: fps down

This commit is contained in:
xkeyC 2025-11-23 13:06:40 +08:00
parent 5c668cba2c
commit a0382a1d2a

View File

@ -23,7 +23,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
GetCommandLineArguments();
project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
project.set_ui_thread_policy(flutter::UIThreadPolicy::RunOnSeparateThread);
FlutterWindow window(project);
Win32Window::Point origin(0, 0);
Win32Window::Size size(1280, 720);