mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Merge default into minor
--HG-- branch : minor
This commit is contained in:
@@ -886,6 +886,11 @@ void Window::maximize()
|
||||
}
|
||||
}
|
||||
|
||||
bool Window::isMaximized() const
|
||||
{
|
||||
return window != nullptr && (SDL_GetWindowFlags(window) & SDL_WINDOW_MAXIMIZED);
|
||||
}
|
||||
|
||||
void Window::swapBuffers()
|
||||
{
|
||||
SDL_GL_SwapWindow(window);
|
||||
|
||||
@@ -76,6 +76,8 @@ public:
|
||||
void minimize();
|
||||
void maximize();
|
||||
|
||||
bool isMaximized() const;
|
||||
|
||||
void swapBuffers();
|
||||
|
||||
bool hasFocus() const;
|
||||
|
||||
Reference in New Issue
Block a user