Beispiel #1
0
void Evolution::onResetDevice()
{
    mGfxStats->onResetDevice();
    HR(mFont->OnResetDevice());

    HR(mFX->OnResetDevice());

    buildProjMtx();
}
Beispiel #2
0
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();
}
Beispiel #3
0
void Evolution::onLostDevice()
{
    mGfxStats->onLostDevice();
    HR(mFont->OnResetDevice());
    HR(mFX->OnLostDevice());
}
Beispiel #4
0
void InitDX9App::onResetDevice()
{
	HR(mFont->OnResetDevice());
	HR(mFont->OnResetDevice());
}
Beispiel #5
0
void HelloD3DApp::onResetDevice()
{
	HR(mFont->OnResetDevice());
}