Absolute mouse position was given as relative movement to SDL
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40920
This commit is contained in:
parent
8c1f9b7977
commit
899423b986
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue