Module: wine Branch: master Commit: cc60cc6abb6d662745d211bff444f9cc38bc4737 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc60cc6abb6d662745d211bff4...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Jan 13 22:08:05 2013 +0100
ddraw: Avoid LPD3DINSTRUCTION.
---
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 1b412f7..5e8e475 100644 --- a/dlls/ddraw/executebuffer.c +++ b/dlls/ddraw/executebuffer.c @@ -71,8 +71,9 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer, if (TRACE_ON(ddraw)) _dump_executedata(&(buffer->data));
- while (1) { - LPD3DINSTRUCTION current = (LPD3DINSTRUCTION) instr; + for (;;) + { + D3DINSTRUCTION *current = (D3DINSTRUCTION *)instr; BYTE size; WORD count;