wined3d: Pass the correct vertex count in DrawIndexedPrimitiveStrided().
This fixes a regression introduced by 2b2fc827ce
.
This commit is contained in:
parent
3b93ff71c7
commit
8a833a2d75
|
@ -4997,7 +4997,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawIndexedPrimitiveStrided(IWineD3DDev
|
||||||
This->stateBlock->streamIsUP = TRUE;
|
This->stateBlock->streamIsUP = TRUE;
|
||||||
This->stateBlock->baseVertexIndex = 0;
|
This->stateBlock->baseVertexIndex = 0;
|
||||||
This->up_strided = DrawPrimStrideData;
|
This->up_strided = DrawPrimStrideData;
|
||||||
drawPrimitive(iface, 0 /* numindices */, 0 /* start_idx */, idxSize, pIndexData);
|
drawPrimitive(iface, vertex_count, 0 /* start_idx */, idxSize, pIndexData);
|
||||||
This->up_strided = NULL;
|
This->up_strided = NULL;
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue