mirror of
https://github.com/minetest/irrlicht.git
synced 2025-01-12 19:00:31 +01:00
-burningvideo 0.5 revert
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6087 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
86dd0cde26
commit
8554ec93f9
@ -60,21 +60,11 @@ namespace irr
|
|||||||
return createDeviceEx(p);
|
return createDeviceEx(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(IRRLICHT_FREE_CANVAS)
|
|
||||||
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDeviceEx(const SIrrlichtCreationParameters& _params)
|
|
||||||
{
|
|
||||||
SIrrlichtCreationParameters params = _params;
|
|
||||||
params.WindowResizable = true;
|
|
||||||
|
|
||||||
#else
|
|
||||||
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDeviceEx(const SIrrlichtCreationParameters& params)
|
extern "C" IRRLICHT_API IrrlichtDevice* IRRCALLCONV createDeviceEx(const SIrrlichtCreationParameters& params)
|
||||||
{
|
{
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
IrrlichtDevice* dev = 0;
|
IrrlichtDevice* dev = 0;
|
||||||
|
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_WINDOWS_DEVICE_
|
#ifdef _IRR_COMPILE_WITH_WINDOWS_DEVICE_
|
||||||
if (params.DeviceType == EIDT_WIN32 || (!dev && params.DeviceType == EIDT_BEST))
|
if (params.DeviceType == EIDT_WIN32 || (!dev && params.DeviceType == EIDT_BEST))
|
||||||
dev = new CIrrDeviceWin32(params);
|
dev = new CIrrDeviceWin32(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user