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:
ragnarok-clanker 2026-11-06 04:48:09 +00:00
commit 366d639f96

View file

@ -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