ddraw: Avoid LPD3DINSTRUCTION.

This commit is contained in:
Henri Verbeet 2013-01-13 22:08:05 +01:00 committed by Alexandre Julliard
parent 197041f1ff
commit cc60cc6abb
1 changed files with 3 additions and 2 deletions

View File

@ -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;