ddraw/tests: Simplify a pointer increment.

This commit is contained in:
Michael Stefaniuc 2009-01-04 01:46:26 +01:00 committed by Alexandre Julliard
parent 3a95eaab9a
commit 566a133a82
1 changed files with 1 additions and 1 deletions

View File

@ -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;