summaryrefslogtreecommitdiffstats
path: root/engine/flatwindow.cpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-22 02:01:43 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-22 02:01:43 +0100
commit35c5c0551edfe786a5d05969df85cef544ebeea6 (patch)
tree4ec3dd0f64e91033b836cdde34687206601d9f1b /engine/flatwindow.cpp
parentFin qui tutto bene (diff)
downloadflatland-35c5c0551edfe786a5d05969df85cef544ebeea6.tar.gz
flatland-35c5c0551edfe786a5d05969df85cef544ebeea6.zip
Soos
Diffstat (limited to 'engine/flatwindow.cpp')
-rw-r--r--engine/flatwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/flatwindow.cpp b/engine/flatwindow.cpp
index 2ff99dc..2fa051b 100644
--- a/engine/flatwindow.cpp
+++ b/engine/flatwindow.cpp
@@ -68,7 +68,7 @@ FlatWindow::~FlatWindow()
int FlatWindow::open()
{
- Uint32 win_flags = winstatus_to_flags(status);
+ uint32_t win_flags = winstatus_to_flags(status);
sdl_window = SDL_CreateWindow( title.c_str(),
bounds->x,
@@ -171,9 +171,9 @@ void FlatWindow::key_cb(const SDL_KeyboardEvent *event)
}
}
-Uint32 FlatWindow::winstatus_to_flags(window_status s)
+uint32_t FlatWindow::winstatus_to_flags(window_status s)
{
- Uint32 flags = 0;
+ uint32_t flags = 0;
if (s.fullscreen)
flags |= SDL_WINDOW_FULLSCREEN;