Fix buggy mouse wheel behaviour
This commit is contained in:
@@ -1009,6 +1009,7 @@ int main(int argc, char** argv)
|
|||||||
mousedata.deltaz = event.wheel.y;
|
mousedata.deltaz = event.wheel.y;
|
||||||
SDL_UnlockMutex(mousemutex);
|
SDL_UnlockMutex(mousemutex);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case SDL_MOUSEMOTION:
|
case SDL_MOUSEMOTION:
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user