mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
This commit is contained in:
@@ -44,9 +44,11 @@ class Image : public Module
|
||||
{
|
||||
public:
|
||||
|
||||
Image() { moduleType = M_IMAGE; }
|
||||
virtual ~Image() {}
|
||||
|
||||
// Implements Module.
|
||||
virtual ModuleType getModuleType() const { return M_IMAGE; }
|
||||
|
||||
/**
|
||||
* Creates new ImageData from FileData.
|
||||
* @param data The FileData containing the encoded image data.
|
||||
|
||||
Reference in New Issue
Block a user