Add centered flag to setMode, optionally centers the window (on by default, as before) (issue #463)

This commit is contained in:
Bart van Strien
2013-03-10 23:00:31 +01:00
parent 63c57ba3f8
commit 7efe11b11f
7 changed files with 39 additions and 3 deletions
+10
View File
@@ -38,5 +38,15 @@ void Window::swapBuffers()
{
}
WindowFlags::WindowFlags()
: fullscreen(false)
, vsync(true)
, fsaa(0)
, resizable(false)
, borderless(false)
, centered(true)
{
}
} // window
} // love