[PATCH 2/5] ddraw: Avoid LPD3DPROCESSVERTICES.

Henri Verbeet hverbeet at codeweavers.com
Tue Jan 15 01:46:52 CST 2013


---
 dlls/ddraw/executebuffer.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/ddraw/executebuffer.c b/dlls/ddraw/executebuffer.c
index 80e44ef..1673cac 100644
--- a/dlls/ddraw/executebuffer.c
+++ b/dlls/ddraw/executebuffer.c
@@ -301,8 +301,9 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
                 wined3d_device_get_transform(device->wined3d_device,
                         WINED3D_TS_WORLD_MATRIX(0), (struct wined3d_matrix *)&world_mat);
 
-		for (i = 0; i < count; i++) {
-		    LPD3DPROCESSVERTICES ci = (LPD3DPROCESSVERTICES) instr;
+                for (i = 0; i < count; ++i)
+                {
+                    D3DPROCESSVERTICES *ci = (D3DPROCESSVERTICES *)instr;
 
                     TRACE("  Start : %d Dest : %d Count : %d\n",
 			  ci->wStart, ci->wDest, ci->dwCount);
-- 
1.7.12.4




More information about the wine-patches mailing list