-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:
engineer_apple 2020-02-22 20:51:59 +00:00
parent 86dd0cde26
commit 8554ec93f9

View File

@ -60,21 +60,11 @@ namespace irr
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)
{
#endif
IrrlichtDevice* dev = 0;
#ifdef _IRR_COMPILE_WITH_WINDOWS_DEVICE_
if (params.DeviceType == EIDT_WIN32 || (!dev && params.DeviceType == EIDT_BEST))
dev = new CIrrDeviceWin32(params);