aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-03-03 14:56:17 +0000
committerJosé Fonseca <jfonseca@vmware.com>2013-03-03 14:56:17 +0000
commit20942e6bc2873ff921ff50c3010b61f0c5a0b69f (patch)
tree8c93e7528ccf6cf6fb57e23bc9189434efc4c895
parent773e3fa8bb6c10584096ad7a813718c599366446 (diff)
downloadpiglit-20942e6bc2873ff921ff50c3010b61f0c5a0b69f.tar.gz
arb_texture_multisample: Avoiding C99-style struct initializers.
In order to fix the build on MSVC, which does not support them.
-rw-r--r--tests/spec/arb_texture_multisample/fb-completeness.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_texture_multisample/fb-completeness.c b/tests/spec/arb_texture_multisample/fb-completeness.c
index fe9c9cfd..55c621bc 100644
--- a/tests/spec/arb_texture_multisample/fb-completeness.c
+++ b/tests/spec/arb_texture_multisample/fb-completeness.c
@@ -119,13 +119,13 @@ struct test_info tests[] = {
},
{ "msaa_color_layer", GL_FRAMEBUFFER_COMPLETE,
{ { GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_COLOR_ATTACHMENT0, GL_TRUE, GL_TRUE,
- .layer=0 },
+ 0 /* format */, 0 /* layer */ },
{ 0 },
}
},
{ "msaa_color_nonzero_layer", GL_FRAMEBUFFER_COMPLETE,
{ { GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_COLOR_ATTACHMENT0, GL_TRUE, GL_TRUE,
- .layer=1 },
+ 0 /* format */, 1 /* layer */ },
{ 0 },
}
},