Commit 8e7590e2 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw: Avoid LPD3DSTATUS.

parent 4bb45afc
...@@ -512,13 +512,11 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer, ...@@ -512,13 +512,11 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
DWORD i; DWORD i;
TRACE("SETSTATUS (%d)\n", count); TRACE("SETSTATUS (%d)\n", count);
for (i = 0; i < count; i++) { for (i = 0; i < count; ++i)
LPD3DSTATUS ci = (LPD3DSTATUS) instr; {
buffer->data.dsStatus = *(D3DSTATUS *)instr;
buffer->data.dsStatus = *ci; instr += size;
}
instr += size;
}
} break; } break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment