Window is rendering black screen

This commit is contained in:
Brandon Mak 2022-09-09 13:32:55 +08:00
parent bed017e539
commit 94a358995a
1 changed files with 5 additions and 1 deletions

View File

@ -38,12 +38,16 @@ namespace Sandbox
void SBApplication::Update(void)
{
SHADE::SHGraphicsSystem* graphicsSystem = static_cast<SHADE::SHGraphicsSystem*>(SHADE::SHSystemManager::GetSystem("Graphics System"));
//TODO: Change true to window is open
while (!window.WindowShouldClose())
{
graphicsSystem->BeginRender();
#ifdef SHEDITOR
#else
#endif
graphicsSystem->EndRender();
}
}