Revert "Adjust mouse scaling calculation for SDL in windowed mode"

This reverts commit 3b298b7c42.
This commit is contained in:
mazmazz 2018-11-24 15:36:50 -05:00
parent 3b298b7c42
commit f80691eb6e
1 changed files with 2 additions and 2 deletions

View File

@ -864,8 +864,8 @@ void I_GetEvent(void)
//SDL_memset(&event, 0, sizeof(event_t));
event.type = ev_mouse;
event.data1 = 0;
event.data2 = (INT32)lround(mousemovex * ((float)realwidth / (float)wwidth));
event.data3 = (INT32)lround(mousemovey * ((float)realheight / (float)wheight));
event.data2 = (INT32)lround(mousemovex * ((float)wwidth / (float)realwidth));
event.data3 = (INT32)lround(mousemovey * ((float)wheight / (float)realheight));
D_PostEvent(&event);
}