ddraw: Avoid LPD3DSTATUS.

This commit is contained in:
Henri Verbeet 2013-01-17 10:24:25 +01:00 committed by Alexandre Julliard
parent 4bb45afc3f
commit 8e7590e22f

View File

@ -512,13 +512,11 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
DWORD i;
TRACE("SETSTATUS (%d)\n", count);
for (i = 0; i < count; i++) {
LPD3DSTATUS ci = (LPD3DSTATUS) instr;
buffer->data.dsStatus = *ci;
instr += size;
}
for (i = 0; i < count; ++i)
{
buffer->data.dsStatus = *(D3DSTATUS *)instr;
instr += size;
}
} break;
default: