diff --git a/engine/src/flutter/shell/platform/android/android_context_vk_impeller.cc b/engine/src/flutter/shell/platform/android/android_context_vk_impeller.cc index 5d3b49cb39..da2026b2ad 100644 --- a/engine/src/flutter/shell/platform/android/android_context_vk_impeller.cc +++ b/engine/src/flutter/shell/platform/android/android_context_vk_impeller.cc @@ -68,7 +68,7 @@ static std::shared_ptr CreateImpellerContext( FML_LOG(IMPORTANT) << "Using the Impeller rendering backend (Vulkan)."; } } - if (context->GetDriverInfo()->IsKnownBadDriver()) { + if (context && context->GetDriverInfo()->IsKnownBadDriver()) { FML_LOG(INFO) << "Known bad Vulkan driver encountered, falling back to OpenGLES."; return nullptr;