Actually call the functions

This commit is contained in:
Louvenarde 2021-11-07 22:57:35 +01:00
parent 9d1b5cf604
commit 15a3f0fe04

View File

@ -379,6 +379,17 @@ namespace Components
{
if (Dedicated::IsEnabled()) return;
Scheduler::OnFrame([]() {
if (Game::CL_IsCgameInitialized())
{
DebugDrawAABBTrees();
DebugDrawModelNames();
DebugDrawSceneModelBoundingBoxes();
DebugDrawSceneModelCollisions();
DebugDrawTriggers();
}
});
// Renderer::OnBackendFrame([] (IDirect3DDevice9* device)
// {
// if (Game::Sys_Milliseconds() % 2)