ddraw: Avoid LPD3DBRANCH.
This commit is contained in:
parent
1ed6a0842d
commit
1bb17316ff
|
@ -474,8 +474,9 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
||||||
DWORD i;
|
DWORD i;
|
||||||
TRACE("BRANCHFORWARD (%d)\n", count);
|
TRACE("BRANCHFORWARD (%d)\n", count);
|
||||||
|
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; ++i)
|
||||||
LPD3DBRANCH ci = (LPD3DBRANCH) instr;
|
{
|
||||||
|
D3DBRANCH *ci = (D3DBRANCH *)instr;
|
||||||
|
|
||||||
if ((buffer->data.dsStatus.dwStatus & ci->dwMask) == ci->dwValue)
|
if ((buffer->data.dsStatus.dwStatus & ci->dwMask) == ci->dwValue)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue