summaryrefslogtreecommitdiff
path: root/tests/hiz
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-04-29 00:08:15 -0700
committerVinson Lee <vlee@vmware.com>2011-04-29 00:08:15 -0700
commitf657c0e261f4c456b51b17422885dce9eba0b836 (patch)
tree189bb93ec7b215899b3e6a4f8511ab101965217a /tests/hiz
parentf9fca6769f0d5f67bd50b4eeed67ece0e0f71151 (diff)
hiz: Remove designated initializers.
Designated initializers are not supported by MSVC.
Diffstat (limited to 'tests/hiz')
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24-s8.c8
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24.c8
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24s8.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/tests/hiz/hiz-depth-test-fbo-d24-s8.c b/tests/hiz/hiz-depth-test-fbo-d24-s8.c
index a9136c6ba..b027174df 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24-s8.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24-s8.c
@@ -44,10 +44,10 @@ int piglit_height = 400;
int piglit_window_mode = GLUT_RGB;
struct hiz_fbo_options fbo_options = {
- .color_format = GL_RGBA,
- .depth_format = GL_DEPTH_COMPONENT24,
- .stencil_format = GL_STENCIL_INDEX8,
- .depth_stencil_format = 0,
+ GL_RGBA,
+ GL_DEPTH_COMPONENT24,
+ GL_STENCIL_INDEX8,
+ 0,
};
void
piglit_init(int argc, char **argv)
diff --git a/tests/hiz/hiz-depth-test-fbo-d24.c b/tests/hiz/hiz-depth-test-fbo-d24.c
index 70100d880..149726492 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24.c
@@ -43,10 +43,10 @@ int piglit_height = 400;
int piglit_window_mode = GLUT_RGB;
struct hiz_fbo_options fbo_options = {
- .color_format = GL_RGBA,
- .depth_format = GL_DEPTH_COMPONENT24,
- .stencil_format = 0,
- .depth_stencil_format = 0,
+ GL_RGBA,
+ GL_DEPTH_COMPONENT24,
+ 0,
+ 0,
};
void
diff --git a/tests/hiz/hiz-depth-test-fbo-d24s8.c b/tests/hiz/hiz-depth-test-fbo-d24s8.c
index baad01cf0..b5bdc75cc 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24s8.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24s8.c
@@ -43,10 +43,10 @@ int piglit_height = 400;
int piglit_window_mode = GLUT_RGB;
struct hiz_fbo_options fbo_options = {
- .color_format = GL_RGBA,
- .depth_format = 0,
- .stencil_format = 0,
- .depth_stencil_format = GL_DEPTH24_STENCIL8,
+ GL_RGBA,
+ 0,
+ 0,
+ GL_DEPTH24_STENCIL8,
};
void