Fix buggy mouse wheel behaviour

This commit is contained in:
Cacodemon345
2021-08-28 23:37:28 +06:00
parent 529b04381d
commit 1b122ae789

View File

@@ -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:
{ {