mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
If video backend initialization fails, have the emulator die gracefully instead of crashing the application. Also a little clean up of the passage of the video window handle to the backend and back.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7248 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,7 +16,6 @@
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
#include "Common.h"
|
||||
#include "Core.h"
|
||||
|
||||
#include "../../Plugin_VideoOGL/Src/GLUtil.h"
|
||||
#include "SWRenderer.h"
|
||||
@ -31,11 +30,6 @@ RasterFont* s_pfont = NULL;
|
||||
|
||||
void SWRenderer::Init()
|
||||
{
|
||||
if (!OpenGL_Create(640, 480)) // 640x480 will be the default if all else fails
|
||||
{
|
||||
Core::Callback_VideoLog("SWRenderer::Create failed\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void SWRenderer::Shutdown()
|
||||
|
Reference in New Issue
Block a user