Cleaned up the love.graphics code that deals with love.window to be more consistent with the rest of the codebase.

This commit is contained in:
Alex Szpakowski
2015-07-24 21:40:55 -03:00
parent 354f83c1cb
commit f5abedaeeb
7 changed files with 22 additions and 40 deletions
-4
View File
@@ -26,12 +26,8 @@ namespace love
namespace window
{
Window *Window::singleton = nullptr;
Window::~Window()
{
if (singleton == this)
singleton = nullptr;
}
void Window::swapBuffers()