Updated the new module changes to use more compile/link-time checking rather than runtime checking.

This commit is contained in:
Alex Szpakowski
2014-07-21 15:12:01 -03:00
parent 014b9a46e5
commit d52bab4221
30 changed files with 59 additions and 87 deletions
-5
View File
@@ -25,11 +25,6 @@ namespace love
namespace graphics
{
Graphics::Graphics()
{
moduleType = M_GRAPHICS;
}
Graphics::~Graphics()
{
}
+3 -1
View File
@@ -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.
**/