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:
parent
2b4037df8e
commit
dbc5a154b6
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue