Commit 65e3d8b4 authored by hybrid's avatar hybrid

Wrong driver type used

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4110 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b994e969
......@@ -84,7 +84,7 @@ bool testExactPlacement(video::E_DRIVER_TYPE driverType)
{
// create device
IrrlichtDevice *device = createDevice(video::EDT_DIRECT3D9, core::dimension2d<u32>(160,120), 32);
IrrlichtDevice *device = createDevice(driverType, core::dimension2d<u32>(160,120), 32);
if (device == 0)
return true; // could not create selected driver.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment