[Scheduler] Correctly register the scheduler
This commit is contained in:
parent
fe3e37347d
commit
1b6255f069
@ -81,6 +81,7 @@ namespace Components
|
||||
Loader::Register(new FrameTime());
|
||||
Loader::Register(new Gametypes());
|
||||
Loader::Register(new Materials());
|
||||
Loader::Register(new Scheduler());
|
||||
Loader::Register(new Threading());
|
||||
Loader::Register(new CardTitles());
|
||||
Loader::Register(new FileSystem());
|
||||
|
@ -50,8 +50,6 @@ namespace Components
|
||||
|
||||
void Scheduler::FrameHandler()
|
||||
{
|
||||
Scheduler::ReadyHandler();
|
||||
|
||||
Scheduler::DelaySignal();
|
||||
Scheduler::FrameSignal();
|
||||
|
||||
|
@ -6,6 +6,7 @@ namespace Utils
|
||||
{
|
||||
void* data = _aligned_malloc(length, alignment);
|
||||
assert(data != nullptr);
|
||||
ZeroMemory(data, length);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user