Actually call the functions
This commit is contained in:
parent
9d1b5cf604
commit
15a3f0fe04
@ -379,6 +379,17 @@ namespace Components
|
|||||||
{
|
{
|
||||||
if (Dedicated::IsEnabled()) return;
|
if (Dedicated::IsEnabled()) return;
|
||||||
|
|
||||||
|
Scheduler::OnFrame([]() {
|
||||||
|
if (Game::CL_IsCgameInitialized())
|
||||||
|
{
|
||||||
|
DebugDrawAABBTrees();
|
||||||
|
DebugDrawModelNames();
|
||||||
|
DebugDrawSceneModelBoundingBoxes();
|
||||||
|
DebugDrawSceneModelCollisions();
|
||||||
|
DebugDrawTriggers();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Renderer::OnBackendFrame([] (IDirect3DDevice9* device)
|
// Renderer::OnBackendFrame([] (IDirect3DDevice9* device)
|
||||||
// {
|
// {
|
||||||
// if (Game::Sys_Milliseconds() % 2)
|
// if (Game::Sys_Milliseconds() % 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user