Decompile fn_02220 (CRendererDX9::DrawAuxiliaryPrimitive)
Batch #16114 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_02220 CRendererDX9::DrawAuxiliaryPrimitive: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
b740fe29e4
commit
60449747e3
1 changed files with 1 additions and 1 deletions
|
|
@ -53,8 +53,8 @@ void CRendererDX9::DrawAuxiliaryPrimitive(LightmappedPrimitive* primitive) {
|
|||
return;
|
||||
}
|
||||
|
||||
this->device->state.SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX2);
|
||||
const auto type = static_cast<D3DPRIMITIVETYPE>(primitive->primitiveType);
|
||||
this->device->state.SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX2);
|
||||
const int divisor = type == D3DPT_TRIANGLELIST ? 3 : 2;
|
||||
|
||||
if (primitive->indexCount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue