Remove unused PostRender method, wich was used by the old ogl-es2 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@4504 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2013-04-06 23:00:58 +00:00
parent 054bc96af0
commit 6580be4689
2 changed files with 0 additions and 6 deletions

View File

@ -70,9 +70,6 @@ public:
a vertex type other than EVT_TANGENTS. */
virtual bool OnRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype) { return true; }
//! Called every time after an each bunch of geometry was drawed.
virtual bool PostRender(IMaterialRendererServices* service, E_VERTEX_TYPE vtxtype) { return true; }
//! Called by the IVideoDriver to unset this material.
/** Called during the IVideoDriver::setMaterial() call before the new
material will get the OnSetMaterial() call. */

View File

@ -943,9 +943,6 @@ namespace video
setRenderStates3DMode();
drawVertexPrimitiveList2d3d(vertices, vertexCount, (const u16*)indexList, primitiveCount, vType, pType, iType);
if (static_cast<u32>(Material.MaterialType) < MaterialRenderers.size())
MaterialRenderers[Material.MaterialType].Renderer->PostRender(this, video::EVT_STANDARD);
}