Decompile 2 functions in Source/Render/DX7/RendererDX7Operations.cpp
Batch #13062 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_02083 CRendererDX7::DrawLightmappedPrimitive: byte-identical - fn_02084 CRendererDX7::DrawLightmappedPrimitive: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
cbeb105937
commit
366d639f96
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ void CRendererDX7::DrawLightmappedPrimitive(LightmappedPrimitive* primitive) {
|
|||
|
||||
const auto type = static_cast<D3DPRIMITIVETYPE>(primitive->primitiveType);
|
||||
|
||||
if (primitive->indexCount) {
|
||||
if (primitive->indexCount > 0) {
|
||||
this->device->DrawIndexedPrimitive(
|
||||
type, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX2, primitive->vertices, primitive->vertexCount, primitive->indices,
|
||||
primitive->indexCount, 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue