//
// Shutdown								- Chapter 22, page 755
//
int Shutdown()
{
	// Normally this is called after the GameCode main loop ends. We
	// expose this here so that the C# app can shutdown after it finishes
	// its main loop
	DXUTShutdown();

    return g_pApp->GetExitCode();	
}
Esempio n. 2
0
void CDirect3DView::OnNcDestroy()
{
    DXUTShutdown(0, false);
    CView::OnNcDestroy();
}
void RenderWin32DX9Imp::destroyDevice()
{
    DXUTShutdown();
    DXUTResetFrameworkState();
}