void Evolution::onResetDevice() { mGfxStats->onResetDevice(); HR(mFont->OnResetDevice()); HR(mFX->OnResetDevice()); buildProjMtx(); }
void Game::onResetDevice() { HR(mFX->OnResetDevice()); HR(mFont->OnResetDevice()); gMyGameWorld->OnResetDevice(); mSprite->OnResetDevice(); // The aspect ratio depends on the backbuffer dimensions, which can // possibly change after a reset. So rebuild the projection matrix. buildProjMtx(); }
void Evolution::onLostDevice() { mGfxStats->onLostDevice(); HR(mFont->OnResetDevice()); HR(mFX->OnLostDevice()); }
void InitDX9App::onResetDevice() { HR(mFont->OnResetDevice()); HR(mFont->OnResetDevice()); }
void HelloD3DApp::onResetDevice() { HR(mFont->OnResetDevice()); }