mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Add centered flag to setMode, optionally centers the window (on by default, as before) (issue #463)
This commit is contained in:
@@ -38,5 +38,15 @@ void Window::swapBuffers()
|
||||
{
|
||||
}
|
||||
|
||||
WindowFlags::WindowFlags()
|
||||
: fullscreen(false)
|
||||
, vsync(true)
|
||||
, fsaa(0)
|
||||
, resizable(false)
|
||||
, borderless(false)
|
||||
, centered(true)
|
||||
{
|
||||
}
|
||||
|
||||
} // window
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user