diff options
author | Samuel Pitoiset <[email protected]> | 2017-07-20 11:21:32 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-08-02 12:54:31 +0200 |
commit | bece5a7dddb149aaf09785332d0e7760ef166709 (patch) | |
tree | fc84b25941876b5133ebc8b5804e6ab6096d828b /src | |
parent | 71064d34aa3bb87e7bdfe805edf3eef6a137ee05 (diff) |
mesa: rename shader_source() to set_shader_source()
There is already get_shader_source(), and shader_source() will
be used for adding KHR_no_error support.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/shaderapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index e690e4731fa..ae5647b4c0d 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1039,7 +1039,7 @@ get_shader_source(struct gl_context *ctx, GLuint shader, GLsizei maxLength, * glShaderSource[ARB]. */ static void -shader_source(struct gl_shader *sh, const GLchar *source) +set_shader_source(struct gl_shader *sh, const GLchar *source) { assert(sh); @@ -1894,7 +1894,7 @@ _mesa_ShaderSource(GLuint shaderObj, GLsizei count, } #endif /* ENABLE_SHADER_CACHE */ - shader_source(sh, source); + set_shader_source(sh, source); free(offsets); } |