mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 03:20:28 +01:00
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 <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
71064d34aa
commit
bece5a7ddd
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue