Reorder structs, alignment

This commit is contained in:
twinaphex 2020-08-14 23:12:49 +02:00
parent 63f02fb1e4
commit acfb7d0a23
2 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ typedef struct win32_common_state
unsigned pos_width; unsigned pos_width;
unsigned pos_height; unsigned pos_height;
unsigned taskbar_message; unsigned taskbar_message;
bool quit;
unsigned monitor_count; unsigned monitor_count;
bool quit;
bool resized; bool resized;
} win32_common_state_t; } win32_common_state_t;

View File

@ -36,11 +36,11 @@ typedef struct
typedef struct typedef struct
{ {
bool mouse_grab;
winraw_keyboard_t keyboard; winraw_keyboard_t keyboard;
HWND window; HWND window;
winraw_mouse_t *mice; winraw_mouse_t *mice;
const input_device_driver_t *joypad; const input_device_driver_t *joypad;
bool mouse_grab;
} winraw_input_t; } winraw_input_t;
/* TODO/FIXME - static globals */ /* TODO/FIXME - static globals */