diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-19 09:41:00 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-19 09:41:00 -0700 |
commit | 7fe2743f8d5295c83738a7eaf0070965ac5c1e69 (patch) | |
tree | 640bdce69a030157a2ba9ba08613564f83f24ee4 | |
parent | 1e6009144e50f9a920208868003b6b93ea972732 (diff) |
disable bugger SDL_WarpMouse for now
-rw-r--r-- | src/library_sdl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index e76a2a28..809ff658 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -611,6 +611,7 @@ var LibrarySDL = { }, SDL_WarpMouse: function(x, y) { + return; // TODO: implement this in a non-buggy way. Need to keep relative mouse movements correct after calling this SDL.events.push({ type: 'mousemove', pageX: x + Module['canvas'].offsetLeft, |