Commit 92810b90 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

execute: Activate the viewport passed as parameter when executing

buffer.
parent c3fa405a
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment