Commit b5b254e1 authored by hybrid's avatar hybrid

Fix deprecation message.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3717 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 5eaa1870
...@@ -312,6 +312,7 @@ void createToolBox() ...@@ -312,6 +312,7 @@ void createToolBox()
env->addStaticText(L":", core::rect<s32>(10,240,150,265), true, false, t1); env->addStaticText(L":", core::rect<s32>(10,240,150,265), true, false, t1);
env->addStaticText(L"Framerate:", env->addStaticText(L"Framerate:",
core::rect<s32>(12,240,75,265), false, false, t1); core::rect<s32>(12,240,75,265), false, false, t1);
// current frame info
env->addStaticText(L"", core::rect<s32>(75,240,200,265), false, false, t1, env->addStaticText(L"", core::rect<s32>(75,240,200,265), false, false, t1,
GUI_ID_ANIMATION_INFO); GUI_ID_ANIMATION_INFO);
scrollbar = env->addScrollBar(true, scrollbar = env->addScrollBar(true,
...@@ -703,7 +704,7 @@ int main(int argc, char* argv[]) ...@@ -703,7 +704,7 @@ int main(int argc, char* argv[])
video::SColorf(1.0f,1.0f,1.0f),2000); video::SColorf(1.0f,1.0f,1.0f),2000);
smgr->setAmbientLight(video::SColorf(0.3f,0.3f,0.3f)); smgr->setAmbientLight(video::SColorf(0.3f,0.3f,0.3f));
// add our media directory as "search path" // add our media directory as "search path"
Device->getFileSystem()->addFolderFileArchive("../../media/"); Device->getFileSystem()->addFileArchive("../../media/");
/* /*
The next step is to read the configuration file. It is stored in the xml The next step is to read the configuration file. It is stored in the xml
......
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