All pastes #638898 Raw Edit

Untitled

public text v1 · immutable
#638898 ·published 2007-07-30 05:40 UTC
rendered paste body
HRESULT APIENTRY hkIDirect3DDevice8::DrawIndexedPrimitive(D3DPRIMITIVETYPE PrimitiveType,UINT minIndex,UINT NumVertices,UINT startIndex,UINT primCount) {
	if (bChams) {
		m_pD3Ddev->SetRenderState(D3DRS_LIGHTING, FALSE);
		m_pD3Ddev->SetTexture(0, texPurple);
		m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
		m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);
		m_pD3Ddev->SetTexture(0, texGreen);
		m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	return m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount);
}