Panic when failing to create Renderer in the opengl plugin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@607 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-09-22 09:17:28 +00:00
parent 2b4037df8e
commit dbc5a154b6
1 changed files with 5 additions and 4 deletions

View File

@ -193,7 +193,8 @@ void Video_Prepare(void)
OpenGL_MakeCurrent(); OpenGL_MakeCurrent();
if (!Renderer::Create2()) { if (!Renderer::Create2()) {
g_VideoInitialize.pLog("Renderer::Create2 failed\n", TRUE); g_VideoInitialize.pLog("Renderer::Create2 failed\n", TRUE);
return; PanicAlert("Can't create opengl renderer. You might be missing some required opengl extensions, check the logs for more info");
exit(1);
} }
TextureMngr::Init(); TextureMngr::Init();