Commit 5e8bd3e2 authored by Brian Paul's avatar Brian Paul

shader_runner: add casts to silence char** vs const GLchar** warnings

Reviewed-by: Jose Fonseca's avatarJose Fonseca <jfonseca@vmware.com>
parent 66bb2dcc
......@@ -137,12 +137,12 @@ compile_glsl(GLenum target, bool release_text)
shader_string_sizes[1] = shader_string_size;
piglit_ShaderSource(shader, 2,
shader_strings,
(const GLchar **) shader_strings,
shader_string_sizes);
} else {
piglit_ShaderSource(shader, 1,
&shader_string,
(const GLchar **) &shader_string,
&shader_string_size);
}
......
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