Esempio n. 1
0
void NativeShutdownGraphics() {
	screenManager->deviceLost();

	g_gameInfoCache.Clear();

	delete uiTexture;
	uiTexture = NULL;

	delete uiContext;
	uiContext = NULL;

	ui_draw2d.Shutdown();
	ui_draw2d_front.Shutdown();

	UIShader_Shutdown();

	gl_lost_manager_shutdown();
}
Esempio n. 2
0
void EmuThread::FinalShutdown()
{

	host->ShutdownGL();


	delete uiTexture;
	uiTexture = NULL;

	UIShader_Shutdown();

	gl_lost_manager_shutdown();

	// TODO
	//The CPU should return when a game is stopped and cleanup should be done here, 
	//so we can restart the plugins (or load new ones) for the next game
	g_State.bEmuThreadStarted = false;
	//_endthreadex(0);
	//return 0;
}
Esempio n. 3
0
void NativeShutdownGraphics()
{
    gl_lost_manager_shutdown();
}