mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 19:50:51 +00:00
More warning squashing
This commit is contained in:
parent
3eafca0dc1
commit
98c3c3a3ae
2 changed files with 3 additions and 3 deletions
|
@ -742,7 +742,7 @@ static inline void I_ShutdownConsole(void){}
|
||||||
//
|
//
|
||||||
void I_StartupKeyboard (void)
|
void I_StartupKeyboard (void)
|
||||||
{
|
{
|
||||||
#if defined (NDEBUG) && !defined (DC)
|
#if !defined (DC)
|
||||||
#ifdef SIGILL
|
#ifdef SIGILL
|
||||||
signal(SIGILL , signal_handler);
|
signal(SIGILL , signal_handler);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -741,8 +741,8 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
event.data2 = (INT32)round((evt.xrel) * ((float)wwidth / (float)realwidth));
|
event.data2 = (INT32)lround((evt.xrel) * ((float)wwidth / (float)realwidth));
|
||||||
event.data3 = (INT32)round(-evt.yrel * ((float)wheight / (float)realheight));
|
event.data3 = (INT32)lround(-evt.yrel * ((float)wheight / (float)realheight));
|
||||||
}
|
}
|
||||||
|
|
||||||
event.type = ev_mouse;
|
event.type = ev_mouse;
|
||||||
|
|
Loading…
Reference in a new issue