mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
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:
@@ -26,12 +26,8 @@ namespace love
|
||||
namespace window
|
||||
{
|
||||
|
||||
Window *Window::singleton = nullptr;
|
||||
|
||||
Window::~Window()
|
||||
{
|
||||
if (singleton == this)
|
||||
singleton = nullptr;
|
||||
}
|
||||
|
||||
void Window::swapBuffers()
|
||||
|
||||
Reference in New Issue
Block a user