Updated variable name for mouse coordinates in mouse wheel events
This commit is contained in:
1 parent
4f318c904a
commit
b18c361b0f
2 files changed
+4
-4
No files matched your search
@@ -868,8 +868,8 @@ SDL_SendMouseWheel(SDL_Window * window, SDL_MouseID mouseID, float x, float y, S
|
||||
event.wheel.preciseX = x;
|
||||
event.wheel.preciseY = y;
|
||||
event.wheel.direction = (Uint32)direction;
|
||||
event.wheel.mouse_x = mouse->x;
|
||||
event.wheel.mouse_y = mouse->y;
|
||||
event.wheel.mouseX = mouse->x;
|
||||
event.wheel.mouseY = mouse->y;
|
||||
posted = (SDL_PushEvent(&event) > 0);
|
||||
}
|
||||
return posted;
|
||||
|
||||
Reference in new issue
Block a user