ddraw: Avoid LPD3DBRANCH.

This commit is contained in:
Henri Verbeet 2013-01-16 08:51:46 +01:00 committed by Alexandre Julliard
parent 1ed6a0842d
commit 1bb17316ff

View File

@ -474,8 +474,9 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
DWORD i;
TRACE("BRANCHFORWARD (%d)\n", count);
for (i = 0; i < count; i++) {
LPD3DBRANCH ci = (LPD3DBRANCH) instr;
for (i = 0; i < count; ++i)
{
D3DBRANCH *ci = (D3DBRANCH *)instr;
if ((buffer->data.dsStatus.dwStatus & ci->dwMask) == ci->dwValue)
{