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-e03cc46cb475master
parent
054bc96af0
commit
6580be4689
|
@ -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. */
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue