ddraw: Avoid LPD3DINSTRUCTION.
This commit is contained in:
parent
197041f1ff
commit
cc60cc6abb
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue