summaryrefslogtreecommitdiff
path: root/ui/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/window.cpp')
-rw-r--r--ui/window.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/window.cpp b/ui/window.cpp
index ad071bb..731996a 100644
--- a/ui/window.cpp
+++ b/ui/window.cpp
@@ -20,10 +20,9 @@ Window::GlewInitHelper::GlewInitHelper()
}
Window::Window(size_t width, size_t height, const std::string & title, Uint32 flags) :
- size {static_cast<int>(width), static_cast<int>(height)}, m_window {title.c_str(),
- static_cast<int>(SDL_WINDOWPOS_CENTERED),
- static_cast<int>(SDL_WINDOWPOS_CENTERED), size.x,
- size.y, flags},
+ size {static_cast<int>(width), static_cast<int>(height)},
+ m_window {title.c_str(), static_cast<int>(SDL_WINDOWPOS_CENTERED), static_cast<int>(SDL_WINDOWPOS_CENTERED), size.x,
+ size.y, flags},
glContext {m_window}, uiShader {width, height}
{
}