[Impeller] Log a message when using Impeller. (flutter/engine#34242)

This commit is contained in:
Chinmay Garde
2022-06-22 16:59:07 -07:00
committed by GitHub
parent a97be6031e
commit 0aa7b3495f
2 changed files with 2 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ static std::shared_ptr<impeller::Context> CreateImpellerContext(
FML_LOG(ERROR) << "Could not add reactor worker.";
return nullptr;
}
FML_LOG(ERROR) << "Using the Impeller rendering backend.";
return context;
}

View File

@@ -19,6 +19,7 @@ static std::shared_ptr<impeller::Context> CreateImpellerContext() {
FML_LOG(ERROR) << "Could not create Metal Impeller Context.";
return nullptr;
}
FML_LOG(ERROR) << "Using the Impeller rendering backend.";
return context;
}