Fixed D3DOP_STATELIGHT opcode.

Implemented _dump_D3DEXECUTEBUFFERDESC.
This commit is contained in:
Christian Costa 2004-08-02 18:26:53 +00:00 committed by Alexandre Julliard
parent 6695417321
commit 0bbe91213d
1 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,6 @@
/* Direct3D ExecuteBuffer
* Copyright (c) 1998 Lionel ULMER
* Copyright (c) 1998-2004 Lionel ULMER
* Copyright (c) 2002-2004 Christian Costa
*
* This file contains the implementation of Direct3DExecuteBuffer.
*
@ -53,7 +54,11 @@ static void _dump_executedata(LPD3DEXECUTEDATA lpData) {
}
static void _dump_D3DEXECUTEBUFFERDESC(LPD3DEXECUTEBUFFERDESC lpDesc) {
DPRINTF("dwSize : %ld\n", lpDesc->dwSize);
DPRINTF("dwFlags : %lx\n", lpDesc->dwFlags);
DPRINTF("dwCaps : %lx\n", lpDesc->dwCaps);
DPRINTF("dwBufferSize : %ld\n", lpDesc->dwBufferSize);
DPRINTF("lpData : %p\n", lpDesc->lpData);
}
static void execute(IDirect3DExecuteBufferImpl *This,
@ -241,8 +246,8 @@ static void execute(IDirect3DExecuteBufferImpl *This,
rs,ci->u2.dwArg[0]);
}
}
instr += size;
}
} break;
case D3DOP_STATERENDER: {