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
-10
View File
@@ -994,16 +994,6 @@ void Window::requestAttention(bool continuous)
// TODO: Linux?
}
love::window::Window *Window::createSingleton()
{
if (!singleton)
singleton = new Window();
else
singleton->retain();
return singleton;
}
const char *Window::getName() const
{
return "love.window.sdl";
-2
View File
@@ -104,8 +104,6 @@ public:
void requestAttention(bool continuous);
static love::window::Window *createSingleton();
const char *getName() const;
private: