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 <>
parent 66bb2dcc
......@@ -137,12 +137,12 @@ compile_glsl(GLenum target, bool release_text)
shader_string_sizes[1] = shader_string_size;
piglit_ShaderSource(shader, 2,
(const GLchar **) shader_strings,
} else {
piglit_ShaderSource(shader, 1,
(const GLchar **) &shader_string,
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