mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -25,11 +25,6 @@ namespace love
|
||||
namespace graphics
|
||||
{
|
||||
|
||||
Graphics::Graphics()
|
||||
{
|
||||
moduleType = M_GRAPHICS;
|
||||
}
|
||||
|
||||
Graphics::~Graphics()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -120,9 +120,11 @@ public:
|
||||
std::string device;
|
||||
};
|
||||
|
||||
Graphics();
|
||||
virtual ~Graphics();
|
||||
|
||||
// Implements Module.
|
||||
virtual ModuleType getModuleType() const { return M_GRAPHICS; }
|
||||
|
||||
/**
|
||||
* Sets the current graphics display viewport dimensions.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user