summaryrefslogtreecommitdiff
path: root/tests/spec/arb_sample_locations/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/arb_sample_locations/test.c')
-rw-r--r--tests/spec/arb_sample_locations/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_sample_locations/test.c b/tests/spec/arb_sample_locations/test.c
index 77bc0cc60..6e5c01fef 100644
--- a/tests/spec/arb_sample_locations/test.c
+++ b/tests/spec/arb_sample_locations/test.c
@@ -207,7 +207,7 @@ create_shader_sources(char *vertex, char *fragment)
"void main() { gl_Position = vec4(piglit_vertex*2.0-1.0, 0.0, 1.0); pos = piglit_vertex; }\n";
int glsl_major, glsl_minor, glsl_ver;
- bool use_gl_sample_position, use_interpolate_at_sample;
+ bool use_gl_sample_position = false, use_interpolate_at_sample = false;
piglit_get_glsl_version(NULL, &glsl_major, &glsl_minor);
glsl_ver = glsl_major*100 + glsl_minor;