Commit 899423b9 authored by Patrice Mandin's avatar Patrice Mandin

Absolute mouse position was given as relative movement to SDL

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40920
parent 8c1f9b79
......@@ -302,7 +302,7 @@ static void do_mouse(_THIS, short mx, short my, short mb, short ks)
SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
} else {
SDL_PrivateMouseMotion(0, 1, mx, my);
SDL_PrivateMouseMotion(0, 0, mx, my);
}
prevmousex = mx;
prevmousey = my;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment