Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update flutter_windows_engine.cc
  • Loading branch information
Jonah Williams authored Jul 12, 2023
commit b77fed10d282fe7cee2140403829f2e3c6752079
4 changes: 2 additions & 2 deletions shell/platform/windows/flutter_windows_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -378,13 +378,13 @@ bool FlutterWindowsEngine::Run(std::string_view entrypoint) {
FlutterRendererConfig renderer_config;

if (enable_impeller_) {
// Impeller does not support a Software backend. Avoid falling back and
// confusing the engine on which renderer is selected.
if (!surface_manager_) {
FML_LOG(ERROR) << "Could not create surface manager. Impeller backend "
"does not support software rendering.";
return false;
}
// Impeller does not support a Software backend. Avoid falling back and
// confusing the engine on which renderer is selected.
renderer_config = GetOpenGLRendererConfig();
} else {
renderer_config = surface_manager_ ? GetOpenGLRendererConfig()
Expand Down