modules need a create function!

This commit is contained in:
2025-03-16 23:26:30 -05:00
parent e774d8c2ad
commit a16cdaa7c3

View File

@@ -17,3 +17,10 @@ class WindowModule : public Module {
Renderer renderer; Renderer renderer;
}; };
extern "C" {
Module* create(void* handle, App& app) {
return new WindowModule(handle, app);
}
}