forked from Mirrorlandia_minetest/irrlicht
master #4
@ -265,8 +265,10 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters& param)
|
|||||||
// create window
|
// create window
|
||||||
if (CreationParams.DriverType != video::EDT_NULL)
|
if (CreationParams.DriverType != video::EDT_NULL)
|
||||||
{
|
{
|
||||||
// create the window, only if we do not use the null device
|
if (!createWindow()) {
|
||||||
createWindow();
|
Close = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user