[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 FrameTime());
|
||||||
Loader::Register(new Gametypes());
|
Loader::Register(new Gametypes());
|
||||||
Loader::Register(new Materials());
|
Loader::Register(new Materials());
|
||||||
|
Loader::Register(new Scheduler());
|
||||||
Loader::Register(new Threading());
|
Loader::Register(new Threading());
|
||||||
Loader::Register(new CardTitles());
|
Loader::Register(new CardTitles());
|
||||||
Loader::Register(new FileSystem());
|
Loader::Register(new FileSystem());
|
||||||
|
@ -50,8 +50,6 @@ namespace Components
|
|||||||
|
|
||||||
void Scheduler::FrameHandler()
|
void Scheduler::FrameHandler()
|
||||||
{
|
{
|
||||||
Scheduler::ReadyHandler();
|
|
||||||
|
|
||||||
Scheduler::DelaySignal();
|
Scheduler::DelaySignal();
|
||||||
Scheduler::FrameSignal();
|
Scheduler::FrameSignal();
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ namespace Utils
|
|||||||
{
|
{
|
||||||
void* data = _aligned_malloc(length, alignment);
|
void* data = _aligned_malloc(length, alignment);
|
||||||
assert(data != nullptr);
|
assert(data != nullptr);
|
||||||
|
ZeroMemory(data, length);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user