I am select next way:
create new theard for updating window:
Code: Select all
DWORD WINAPI UpdateSplash(LPVOID data)
{
ILoadSplash* splash = (ILoadSplash*)data;
while(GetDevice()->run() && splash->Enable)
{
GetVideoDriver()->beginScene(true, true, SColor(255,200,200,230));
splash->BeginUpdate();
//splash->GetSceneManager()->drawAll();
splash->EndUpdate();
GetVideoDriver()->endScene();
}
return 0;
}
But theard does not updates my window . I have a black screen.
But I am set color (200,200,230).
As possible load the resources in separate theard?