mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
love.graphics.getScissor now has a proper C++ module method
This commit is contained in:
@@ -78,7 +78,7 @@ Module::~Module()
|
||||
void Module::registerInstance(Module *instance)
|
||||
{
|
||||
if (instance == nullptr)
|
||||
throw Exception("Module instance is NULL");
|
||||
throw Exception("Module instance is null");
|
||||
|
||||
std::string name(instance->getName());
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#define LOVE_MODULE_H
|
||||
|
||||
// LOVE
|
||||
#include "runtime.h"
|
||||
#include "Exception.h"
|
||||
#include "Object.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user