Window is rendering black screen
This commit is contained in:
parent
bed017e539
commit
94a358995a
|
@ -38,13 +38,17 @@ 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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue