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

This commit is contained in:
Francois Gouget 2012-02-25 13:37:10 +01:00 committed by Alexandre Julliard
parent b05be80758
commit cdac8cb176

View file

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