Skip to content

Commit

Permalink
Merge pull request #1023 from ForLoveOfCats/InfoNotErrorNoDll
Browse files Browse the repository at this point in the history
Turn two more Windows shell errors into info
  • Loading branch information
ForLoveOfCats authored Jun 8, 2020
2 parents e45fa01 + 6f82484 commit 0085e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions druid-shell/src/platform/windows/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ fn load_optional_functions() -> OptionalFunctions {
let mut CreateDXGIFactory2 = None;

if shcore.is_null() {
log::error!("No shcore.dll");
log::info!("No shcore.dll");
} else {
load_function!(shcore, SetProcessDpiAwareness, "8.1");
load_function!(shcore, GetDpiForMonitor, "8.1");
}

if user32.is_null() {
log::error!("No user32.dll");
log::info!("No user32.dll");
} else {
load_function!(user32, GetDpiForSystem, "10");
}
Expand Down

0 comments on commit 0085e16

Please sign in to comment.