mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ddraw/tests: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
b05be80758
commit
cdac8cb176
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue