summaryrefslogtreecommitdiffstats
path: root/event.cpp
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-22 15:34:56 +0100
committerNao Pross <naopross@thearcway.org>2019-01-22 15:34:56 +0100
commit2914d264ded33d236f0dbd78f899b0003d3b9d52 (patch)
tree1553c3ac770d8662233a0bd9d4516bde5b764fb7 /event.cpp
parentUpdate .gitignore (diff)
downloadlibwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.tar.gz
libwsdl2-2914d264ded33d236f0dbd78f899b0003d3b9d52.zip
Rename library from libwrapsdl2 to libwsdl2
Diffstat (limited to '')
-rw-r--r--event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.cpp b/event.cpp
index 72de51c..60d432e 100644
--- a/event.cpp
+++ b/event.cpp
@@ -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) {