diff --git a/engine/src/flutter/impeller/toolkit/egl/display.cc b/engine/src/flutter/impeller/toolkit/egl/display.cc index 45d4a84e1e..86cc72045d 100644 --- a/engine/src/flutter/impeller/toolkit/egl/display.cc +++ b/engine/src/flutter/impeller/toolkit/egl/display.cc @@ -6,6 +6,7 @@ #include +#include "flutter/fml/logging.h" #include "impeller/toolkit/egl/context.h" #include "impeller/toolkit/egl/surface.h" @@ -161,8 +162,7 @@ std::unique_ptr Display::ChooseConfig(ConfigDescriptor config) const { return nullptr; } - if (config_count_out != 1u) { - IMPELLER_LOG_EGL_ERROR; + if (config_count_out < 1) { return nullptr; }