modules need a create function!
This commit is contained in:
@@ -17,3 +17,10 @@ class WindowModule : public Module {
|
||||
|
||||
Renderer renderer;
|
||||
};
|
||||
|
||||
|
||||
extern "C" {
|
||||
Module* create(void* handle, App& app) {
|
||||
return new WindowModule(handle, app);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user