Commit 566a133a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ddraw/tests: Simplify a pointer increment.

parent 3a95eaab
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment