Skip to content
Snippets Groups Projects
Commit 0bbe9121 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

Fixed D3DOP_STATELIGHT opcode.

Implemented _dump_D3DEXECUTEBUFFERDESC.
parent 66954173
No related branches found
No related tags found
No related merge requests found
/* 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;
}
instr += size;
} break;
case D3DOP_STATERENDER: {
......@@ -709,8 +714,8 @@ HRESULT d3dexecutebuffer_create(IDirect3DExecuteBufferImpl **obj, IDirectDrawImp
object->nb_indices = 0;
*obj = object;
TRACE(" creating implementation at %p.\n", *obj);
return DD_OK;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment