mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Fixed a memory leak in love.graphics.newText.
This commit is contained in:
@@ -970,11 +970,6 @@ love::window::Window *Window::createSingleton()
|
||||
return singleton;
|
||||
}
|
||||
|
||||
love::window::Window *Window::getSingleton()
|
||||
{
|
||||
return singleton;
|
||||
}
|
||||
|
||||
const char *Window::getName() const
|
||||
{
|
||||
return "love.window.sdl";
|
||||
|
||||
@@ -101,7 +101,6 @@ public:
|
||||
int showMessageBox(const MessageBoxData &data);
|
||||
|
||||
static love::window::Window *createSingleton();
|
||||
static love::window::Window *getSingleton();
|
||||
|
||||
const char *getName() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user