execute: Activate the viewport passed as parameter when executing
buffer.
This commit is contained in:
parent
c3fa405ab7
commit
92810b90c1
|
@ -197,6 +197,12 @@ static void execute(LPDIRECT3DEXECUTEBUFFER lpBuff,
|
|||
void *instr = ilpBuff->desc.lpData + is;
|
||||
D3DDPRIVATE((IDirect3DDeviceImpl*)dev);
|
||||
|
||||
/* Should check if the viewport was added or not to the device */
|
||||
|
||||
/* Activate the viewport */
|
||||
ivp->device.active_device1 = (IDirect3DDeviceImpl*)dev;
|
||||
ivp->activate(ivp);
|
||||
|
||||
TRACE("ExecuteData : \n");
|
||||
if (TRACE_ON(ddraw))
|
||||
_dump_executedata(&(ilpBuff->data));
|
||||
|
|
Loading…
Reference in New Issue