All pastes #926705 Raw Edit

Anonymous

public cpp v1 · immutable
·published 2008-03-03 20:21 UTC
rendered paste body
HRESULT APIENTRY hIDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount){	if(pManager->CheckTexture() == true)	{		pManager->DrawBackJobs();		pDevice->DrawIndexedPrimitive(Type,BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);		pManager->DrawFrontJobs();		HRESULT Ret = pDevice->DrawIndexedPrimitive(Type,BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);		pManager->EnableShading();			return Ret;	}	return pDevice->DrawIndexedPrimitive(Type,BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);}