mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Fix attempt for #22
This commit is contained in:
parent
53b9d6398c
commit
837efc5460
|
@ -402,6 +402,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT,
|
||||||
0
|
0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
ffi::WM_ERASEBKGND => {
|
||||||
|
1
|
||||||
|
},
|
||||||
|
|
||||||
ffi::WM_SIZE => {
|
ffi::WM_SIZE => {
|
||||||
use Resized;
|
use Resized;
|
||||||
let w = ffi::LOWORD(lparam as ffi::DWORD) as uint;
|
let w = ffi::LOWORD(lparam as ffi::DWORD) as uint;
|
||||||
|
|
Loading…
Reference in a new issue