mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-19 20:59:23 +00:00
ddraw/tests: Simplify a pointer increment.
This commit is contained in:
parent
3a95eaab9a
commit
566a133a82
|
@ -1118,7 +1118,7 @@ static void Direct3D1Test(void)
|
||||||
instr->bOpcode = D3DOP_TRIANGLE;
|
instr->bOpcode = D3DOP_TRIANGLE;
|
||||||
instr->bSize = sizeof(D3DOP_TRIANGLE);
|
instr->bSize = sizeof(D3DOP_TRIANGLE);
|
||||||
instr->wCount = 0;
|
instr->wCount = 0;
|
||||||
instr = ((D3DINSTRUCTION*)(instr))+1;
|
instr++;
|
||||||
instr->bOpcode = D3DOP_EXIT;
|
instr->bOpcode = D3DOP_EXIT;
|
||||||
instr->bSize = 0;
|
instr->bSize = 0;
|
||||||
instr->wCount = 0;
|
instr->wCount = 0;
|
||||||
|
|
Loading…
Reference in a new issue