mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-24 01:30:31 +01:00
remove examples warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6090 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
c615e1e666
commit
9c15b9dfa9
@ -213,6 +213,7 @@ int main()
|
||||
terrain->getMeshBufferForLOD(*buffer, 0);
|
||||
video::S3DVertex2TCoords* data = (video::S3DVertex2TCoords*)buffer->getVertexBuffer().getData();
|
||||
// Work on data or get the IndexBuffer with a similar call.
|
||||
(void)data; // disable unused variable warnings
|
||||
buffer->drop(); // When done drop the buffer again.
|
||||
|
||||
/*
|
||||
|
@ -359,12 +359,12 @@ int IRRCALLCONV main(int argc, char* argv[])
|
||||
int fps = driver->getFPS();
|
||||
if (1 || lastFPS != fps)
|
||||
{
|
||||
io::IAttributes * const attr = smgr->getParameters();
|
||||
core::stringw str = L"Q3 [";
|
||||
str += driver->getName();
|
||||
str += "] FPS:";
|
||||
str += fps;
|
||||
#ifdef _IRR_SCENEMANAGER_DEBUG
|
||||
io::IAttributes * const attr = smgr->getParameters();
|
||||
str += " Cull:";
|
||||
str += attr->getAttributeAsInt("calls");
|
||||
str += "/";
|
||||
|
@ -346,6 +346,8 @@ public:
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user