windows: Don't log error when RedrawWindow (#37542)
Release Notes: - N/A
This commit is contained in:
@@ -257,9 +257,7 @@ impl WindowsPlatform {
|
||||
};
|
||||
for hwnd in all_windows.read().iter() {
|
||||
unsafe {
|
||||
RedrawWindow(Some(hwnd.as_raw()), None, None, RDW_INVALIDATE)
|
||||
.ok()
|
||||
.log_err();
|
||||
let _ = RedrawWindow(Some(hwnd.as_raw()), None, None, RDW_INVALIDATE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user