Commit d4620f37 authored by hybrid's avatar hybrid

Use the generic render method for more flexibility.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3078 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a8229b3f
......@@ -131,7 +131,7 @@ public:
driver->setMaterial(Material);
driver->setTransform(video::ETS_WORLD, AbsoluteTransformation);
driver->drawIndexedTriangleList(&Vertices[0], 4, &indices[0], 4);
driver->drawVertexPrimitiveList(&Vertices[0], 4, &indices[0], 4, video::EVT_STANDARD, scene::EPT_TRIANGLES, video::EIT_16BIT);
}
/*
......
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