Henri Verbeet : ddraw: Avoid LPD3DPROCESSVERTICES.

Alexandre Julliard julliard at winehq.org
Tue Jan 15 13:46:17 CST 2013


Module: wine
Branch: master
Commit: b43f897675f3c6c6f8c4bc92db0e87bfef97da2d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b43f897675f3c6c6f8c4bc92db0e87bfef97da2d

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue Jan 15 08:46:52 2013 +0100

ddraw: Avoid LPD3DPROCESSVERTICES.

---

 dlls/ddraw/executebuffer.c |    5 +++--
 1 files 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);




More information about the wine-cvs mailing list