diff options
Diffstat (limited to 'event.cpp')
-rw-r--r-- | event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,11 +6,11 @@ extern "C" { #include <SDL2/SDL.h> } -wrapsdl2::event::event(const SDL_Event& e) { +wsdl2::event::event(const SDL_Event& e) { m_event = e; } -std::optional<wrapsdl2::event> wrapsdl2::poll_event() { +std::optional<wsdl2::event> wsdl2::poll_event() { SDL_Event ev; if (SDL_PollEvent(&ev) != 0) { |