diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index eb5ad5b72dd..b286b6928e9 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4997,7 +4997,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawIndexedPrimitiveStrided(IWineD3DDev This->stateBlock->streamIsUP = TRUE; This->stateBlock->baseVertexIndex = 0; 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; return WINED3D_OK; }