mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Merged default into minor
--HG-- branch : minor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2006-2014 LOVE Development Team
|
||||
* Copyright (c) 2006-2015 LOVE Development Team
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
@@ -646,6 +646,12 @@ void Window::minimize()
|
||||
SDL_MinimizeWindow(window);
|
||||
}
|
||||
|
||||
void Window::maximize()
|
||||
{
|
||||
if (window != nullptr)
|
||||
SDL_MaximizeWindow(window);
|
||||
}
|
||||
|
||||
void Window::swapBuffers()
|
||||
{
|
||||
SDL_GL_SwapWindow(window);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2006-2014 LOVE Development Team
|
||||
* Copyright (c) 2006-2015 LOVE Development Team
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any damages
|
||||
@@ -69,6 +69,7 @@ public:
|
||||
love::image::ImageData *getIcon();
|
||||
|
||||
void minimize();
|
||||
void maximize();
|
||||
|
||||
void swapBuffers();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user