d3d9: Get rid of an unnecessary wined3d_device_set_base_vertex_index() call.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f5766a929d
commit
2cf38e63ec
|
@ -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_stream_source(device->wined3d_device, 0, NULL, 0, 0);
|
||||||
wined3d_device_set_index_buffer(device->wined3d_device, NULL, WINED3DFMT_UNKNOWN, 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))
|
if (SUCCEEDED(hr))
|
||||||
d3d9_rts_flag_auto_gen_mipmap(device);
|
d3d9_rts_flag_auto_gen_mipmap(device);
|
||||||
|
|
Loading…
Reference in New Issue