Commit cdac8cb1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ddraw/tests: Fix compilation on systems that don't support nameless unions.

parent b05be807
...@@ -160,15 +160,15 @@ static void emit_tquad(void **ptr, WORD base_idx) ...@@ -160,15 +160,15 @@ static void emit_tquad(void **ptr, WORD base_idx)
inst->bSize = sizeof(*tri); inst->bSize = sizeof(*tri);
inst->wCount = 2; inst->wCount = 2;
tri->v1 = base_idx; U1(*tri).v1 = base_idx;
tri->v2 = base_idx + 1; U2(*tri).v2 = base_idx + 1;
tri->v3 = base_idx + 2; U3(*tri).v3 = base_idx + 2;
tri->wFlags = D3DTRIFLAG_START; tri->wFlags = D3DTRIFLAG_START;
++tri; ++tri;
tri->v1 = base_idx + 2; U1(*tri).v1 = base_idx + 2;
tri->v2 = base_idx + 1; U2(*tri).v2 = base_idx + 1;
tri->v3 = base_idx + 3; U3(*tri).v3 = base_idx + 3;
tri->wFlags = D3DTRIFLAG_ODD; tri->wFlags = D3DTRIFLAG_ODD;
++tri; ++tri;
......
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