Fixed crash if OpenGL couldn't init
Former-commit-id: 32feaaa180df7f9f4c02ec5f593166df15aae234
This commit is contained in:
@@ -500,8 +500,6 @@ bool NzRenderer::Initialize()
|
||||
if (!NzOpenGL::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialize OpenGL");
|
||||
Uninitialize();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user