Commit f657c0e2 authored by Vinson Lee's avatar Vinson Lee

hiz: Remove designated initializers.

Designated initializers are not supported by MSVC.
parent f9fca676
......@@ -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)
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment