sdl - use the wParam and rawinput data for mouse state rather than just the message type, fixes missing mouse up events when alt-tabing out of the window
CR: SamL
This commit is contained in:
parent
ee24414406
commit
f4e5303f46
3 changed files with 69 additions and 40 deletions
|
@ -32,7 +32,7 @@ typedef struct
|
|||
HBITMAP hbm;
|
||||
WNDPROC wndproc;
|
||||
SDL_bool created;
|
||||
int mouse_pressed;
|
||||
Uint32 mouse_button_flags;
|
||||
struct SDL_VideoData *videodata;
|
||||
} SDL_WindowData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue