Fix some mouse bugs in WebAssembly/asm.js

- Emit mouse wheel release events
 - Set button masks, fixes #5092
This commit is contained in:
eska
2016-11-23 23:53:38 +01:00
parent a6ae3204fb
commit 30e9ea5a82
3 changed files with 17 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ private:
Vector<TouchPos> touch;
Point2 last_mouse;
int last_button_mask;
unsigned int last_id;
GFXInitFunc gfx_init_func;
void*gfx_init_ud;