mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-10 09:43:52 +01:00
remove examples warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6089 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
fe7778d8d8
commit
c615e1e666
@ -228,6 +228,8 @@ int main()
|
|||||||
vsFileName = mediaPath + "opengl.vsh";
|
vsFileName = mediaPath + "opengl.vsh";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -335,6 +335,8 @@ int IRRCALLCONV main(int argc, char* argv[])
|
|||||||
case video::EDT_DIRECT3D9:
|
case video::EDT_DIRECT3D9:
|
||||||
gui->addImage(driver->getTexture("directxlogo.png"), pos);
|
gui->addImage(driver->getTexture("directxlogo.png"), pos);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -355,7 +357,7 @@ int IRRCALLCONV main(int argc, char* argv[])
|
|||||||
driver->endScene();
|
driver->endScene();
|
||||||
|
|
||||||
int fps = driver->getFPS();
|
int fps = driver->getFPS();
|
||||||
//if (lastFPS != fps)
|
if (1 || lastFPS != fps)
|
||||||
{
|
{
|
||||||
io::IAttributes * const attr = smgr->getParameters();
|
io::IAttributes * const attr = smgr->getParameters();
|
||||||
core::stringw str = L"Q3 [";
|
core::stringw str = L"Q3 [";
|
||||||
|
@ -429,7 +429,7 @@ void CMaterialControl::init(scene::IMeshSceneNode* node, IrrlichtDevice * device
|
|||||||
|
|
||||||
Driver = device->getVideoDriver ();
|
Driver = device->getVideoDriver ();
|
||||||
gui::IGUIEnvironment* guiEnv = device->getGUIEnvironment();
|
gui::IGUIEnvironment* guiEnv = device->getGUIEnvironment();
|
||||||
scene::ISceneManager* smgr = device->getSceneManager();
|
//scene::ISceneManager* smgr = device->getSceneManager();
|
||||||
const video::SMaterial & material = node->getMaterial(0);
|
const video::SMaterial & material = node->getMaterial(0);
|
||||||
|
|
||||||
s32 top = pos.Y;
|
s32 top = pos.Y;
|
||||||
|
@ -180,7 +180,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
SMesh* Mesh;
|
SMesh* Mesh;
|
||||||
|
|
||||||
TMesh() : Mesh(0), Width(0), Height(0), Scale(1.f)
|
TMesh() : Width(0), Height(0), Scale(1.f), Mesh(0)
|
||||||
{
|
{
|
||||||
Mesh = new SMesh();
|
Mesh = new SMesh();
|
||||||
}
|
}
|
||||||
|
@ -142,6 +142,8 @@ public:
|
|||||||
//we were at the end of the video section so we reset our tag
|
//we were at the end of the video section so we reset our tag
|
||||||
currentSection=L"";
|
currentSection=L"";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user