Commit e09d9cd8 authored by Brian Paul's avatar Brian Paul

piglit: add const qualifier for filename param for piglit_compile_shader()

parent 9db00380
......@@ -63,7 +63,7 @@ void piglit_get_glsl_version(bool *es, int* major, int* minor)
* Convenience function to compile a GLSL shader from a file.
*/
GLuint
piglit_compile_shader(GLenum target, char *filename)
piglit_compile_shader(GLenum target, const char *filename)
{
GLuint prog;
struct stat st;
......
......@@ -30,7 +30,7 @@
*/
void piglit_get_glsl_version(bool *es, int* major, int* minor);
GLuint piglit_compile_shader(GLenum target, char *filename);
GLuint piglit_compile_shader(GLenum target, const char *filename);
GLuint piglit_compile_shader_text(GLenum target, const char *text);
GLboolean piglit_link_check_status(GLint prog);
GLboolean piglit_link_check_status_quiet(GLint prog);
......
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