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

This commit is contained in:
Francois Gouget 2015-05-02 13:06:28 +02:00 committed by Alexandre Julliard
parent b55cc5e4c5
commit cb16c70602
1 changed files with 1 additions and 1 deletions

View File

@ -3862,7 +3862,7 @@ static void test_specular_lighting(void)
ok(SUCCEEDED(hr), "Failed to disable fog, hr %#x.\n", hr);
memset(&material, 0, sizeof(material));
U(U2(material).specular).r = 1.0f;
U1(U2(material).specular).r = 1.0f;
U2(U2(material).specular).g = 1.0f;
U3(U2(material).specular).b = 1.0f;
U4(U2(material).specular).a = 1.0f;