diff options
| author | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2025-10-16 16:08:08 +0200 |
|---|---|---|
| committer | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2025-10-16 16:08:08 +0200 |
| commit | f7ea85ccb2b7cb6cf8ec73e737a36397da645c3f (patch) | |
| tree | 4e4a39c384ed49cc072c6fd03e42b57cc74a635b /core/sys/windows/user32.odin | |
| parent | ada70ca6255562e456064ab71b0f856e5eafd921 (diff) | |
forgot to use tabs, as always
Diffstat (limited to 'core/sys/windows/user32.odin')
| -rw-r--r-- | core/sys/windows/user32.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin index 51cbde4ae..4eb389f6b 100644 --- a/core/sys/windows/user32.odin +++ b/core/sys/windows/user32.odin @@ -399,11 +399,11 @@ MAKEINTRESOURCEW :: #force_inline proc "contextless" (#any_int i: int) -> LPWSTR } RAWINPUT_ALIGN :: proc(x: uintptr) -> uintptr { - return (x + size_of(uintptr) - 1) & ~uintptr(size_of(uintptr) - 1) + return (x + size_of(uintptr) - 1) & ~uintptr(size_of(uintptr) - 1) } NEXTRAWINPUTBLOCK :: proc(ptr: ^RAWINPUT) -> ^RAWINPUT { - return cast(^RAWINPUT)RAWINPUT_ALIGN(uintptr(ptr) + uintptr(ptr.header.dwSize)) + return cast(^RAWINPUT)RAWINPUT_ALIGN(uintptr(ptr) + uintptr(ptr.header.dwSize)) } Monitor_From_Flags :: enum DWORD { |