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:
engineer_apple 2020-02-22 21:42:44 +00:00
parent c615e1e666
commit 9c15b9dfa9
3 changed files with 4 additions and 1 deletions

@ -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;
}
}