diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-25 11:48:01 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-25 11:48:01 +0100 |
commit | ea7d7ec301968f3a542de93f487f9501b70c0cd4 (patch) | |
tree | c2a81d117f62c06d369a8e6336a4ecac675df508 /src/crepe/facade | |
parent | 596358ffea72aec48b389609349f717e76396ae2 (diff) |
code standard fixing
Diffstat (limited to 'src/crepe/facade')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 6371a51..a37392f 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -360,8 +360,8 @@ std::vector<SDLContext::EventData> SDLContext::get_events(){ { event_list.push_back(EventData{ .event_type = SDLContext::Event::MOUSEMOVE, - .mouse_position = {event.button.x,event.button.y}, - .rel_mouse_move = {event.motion.yrel,event.motion.xrel} + .mouse_position = {event.motion.x,event.motion.y}, + .rel_mouse_move = {event.motion.xrel,event.motion.yrel} }); } break; |