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->bSize = sizeof(D3DOP_TRIANGLE);
|
||||
instr->wCount = 0;
|
||||
instr = ((D3DINSTRUCTION*)(instr))+1;
|
||||
instr++;
|
||||
instr->bOpcode = D3DOP_EXIT;
|
||||
instr->bSize = 0;
|
||||
instr->wCount = 0;
|
||||
|
|
Loading…
Reference in New Issue