mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
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;
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user