From 2cf38e63ec41cd5804608b012b1a4e42c83dca7b Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Wed, 6 Jun 2018 00:32:39 +0200 Subject: [PATCH] d3d9: Get rid of an unnecessary wined3d_device_set_base_vertex_index() call. Signed-off-by: Matteo Bruni Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d9/device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 2f3ad2880d6..5d0f5071836 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -2946,7 +2946,6 @@ static HRESULT WINAPI d3d9_device_DrawIndexedPrimitiveUP(IDirect3DDevice9Ex *ifa wined3d_device_set_stream_source(device->wined3d_device, 0, NULL, 0, 0); wined3d_device_set_index_buffer(device->wined3d_device, NULL, WINED3DFMT_UNKNOWN, 0); - wined3d_device_set_base_vertex_index(device->wined3d_device, 0); if (SUCCEEDED(hr)) d3d9_rts_flag_auto_gen_mipmap(device);