Matteo Bruni : d3d9: Get rid of an unnecessary wined3d_device_set_base_vertex_index() call.

Alexandre Julliard julliard at winehq.org
Wed Jun 6 15:21:48 CDT 2018


Module: wine
Branch: master
Commit: 2cf38e63ec41cd5804608b012b1a4e42c83dca7b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2cf38e63ec41cd5804608b012b1a4e42c83dca7b

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Jun  6 00:32:39 2018 +0200

d3d9: Get rid of an unnecessary wined3d_device_set_base_vertex_index() call.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d9/device.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 2f3ad28..5d0f507 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);




More information about the wine-cvs mailing list