Browse Source

Remove invalid assertion statement

nce_cpp
Feng Chen 4 years ago
parent
commit
064470286d
  1. 3
      src/core/hle/service/nvflinger/nvflinger.cpp

3
src/core/hle/service/nvflinger/nvflinger.cpp

@ -100,9 +100,6 @@ std::optional<u64> NVFlinger::OpenDisplay(std::string_view name) {
LOG_DEBUG(Service, "Opening \"{}\" display", name);
// TODO(Subv): Currently we only support the Default display.
ASSERT(name == "Default");
const auto itr =
std::find_if(displays.begin(), displays.end(),
[&](const VI::Display& display) { return display.GetName() == name; });

Loading…
Cancel
Save