Commit be4fae03 authored by hybrid's avatar hybrid

Fix comments

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3754 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d542ddaa
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
using namespace irr; using namespace irr;
// Tests screenshots. // Tests screenshots features
/** At the moment, this just verifies that the last frame of the animation produces the expected bitmap. */
bool testShots(video::E_DRIVER_TYPE type) bool testShots(video::E_DRIVER_TYPE type)
{ {
IrrlichtDevice *device = createDevice(type, core::dimension2d<u32>(160, 120), 32); IrrlichtDevice *device = createDevice(type, core::dimension2d<u32>(160, 120), 32);
...@@ -31,7 +30,6 @@ bool testShots(video::E_DRIVER_TYPE type) ...@@ -31,7 +30,6 @@ bool testShots(video::E_DRIVER_TYPE type)
(void)smgr->addCameraSceneNode(); (void)smgr->addCameraSceneNode();
// Just jump to the last frame since that's all we're interested in.
node->setMD2Animation(scene::EMAT_DEATH_FALLBACK); node->setMD2Animation(scene::EMAT_DEATH_FALLBACK);
node->setCurrentFrame((f32)(node->getEndFrame())); node->setCurrentFrame((f32)(node->getEndFrame()));
node->setAnimationSpeed(0); node->setAnimationSpeed(0);
...@@ -60,4 +58,4 @@ bool screenshot() ...@@ -60,4 +58,4 @@ bool screenshot()
testShots(video::EDT_OPENGL); testShots(video::EDT_OPENGL);
testShots(video::EDT_DIRECT3D9); testShots(video::EDT_DIRECT3D9);
return true; return true;
} }
\ No newline at end of file
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