From a05ca4111726ff4e30f3424bbf95a679ab09911c Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Mon, 19 Sep 2022 15:58:31 +0800 Subject: [PATCH] Fixed issue with SystemRoutines being created with the wrong version --- SHADE_Application/src/Application/SBApplication.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SHADE_Application/src/Application/SBApplication.cpp b/SHADE_Application/src/Application/SBApplication.cpp index d2bcd760..5797771f 100644 --- a/SHADE_Application/src/Application/SBApplication.cpp +++ b/SHADE_Application/src/Application/SBApplication.cpp @@ -38,10 +38,10 @@ namespace Sandbox window.Create(hInstance, hPrevInstance, lpCmdLine, nCmdShow); SHADE::SHSystemManager::CreateSystem(); SHADE::SHGraphicsSystem* graphicsSystem = static_cast(SHADE::SHSystemManager::GetSystem()); - SHADE::SHSystemManager::RegisterRoutine(1); - SHADE::SHSystemManager::RegisterRoutine(1); - SHADE::SHSystemManager::RegisterRoutine(1); - SHADE::SHSystemManager::RegisterRoutine(1); + SHADE::SHSystemManager::RegisterRoutine(); + SHADE::SHSystemManager::RegisterRoutine(); + SHADE::SHSystemManager::RegisterRoutine(); + SHADE::SHSystemManager::RegisterRoutine(); graphicsSystem->SetWindow(&window);