Correct the order of begin / end scene
It fixes DirectX 9 driver warnings
This commit is contained in:
parent
eb59d5645b
commit
6a24b5cb0e
@ -536,11 +536,11 @@ void RaceManager::startNextRace()
|
||||
if (type == PT_MAIN)
|
||||
{
|
||||
IrrlichtDevice* device = irr_driver->getDevice();
|
||||
device->getVideoDriver()->beginScene(true, true,
|
||||
video::SColor(255,100,101,140));
|
||||
GUIEngine::clearLoadingTips();
|
||||
GUIEngine::renderLoading(true/*clearIcons*/, false/*launching*/, false/*update_tips*/);
|
||||
device->getVideoDriver()->endScene();
|
||||
device->getVideoDriver()->beginScene(true, true,
|
||||
video::SColor(255,100,101,140));
|
||||
}
|
||||
|
||||
m_num_finished_karts = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user