if(WHDino == 1)
{
if(Stride == 44 ) CekHook=true;
if (CekHook==true) {
pDevice->SetRenderState(D3DRS_ZENABLE, false);
pDevice->SetRenderState( D3DRS_FILLMODE,D3DFILL_SOLID );
pDevice->SetTexture(0, Orange);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState( D3DRS_ZENABLE, true );
pDevice->SetRenderState( D3DRS_FILLMODE,D3DFILL_SOLID );
pDevice->SetTexture(0, Orange);
CekHook=false;
}
}
