Cleanup: use shorter name for shader config

The struct name is descriptive,
this isn't going to be confused with other variables.
This commit is contained in:
2019-02-10 11:02:06 +11:00
parent 66c23ea2b4
commit 16d7967c2b
20 changed files with 253 additions and 253 deletions

View File

@@ -669,9 +669,9 @@ void GPU_batch_program_set_shader(GPUBatch *batch, GPUShader *shader)
}
void GPU_batch_program_set_builtin_with_config(
GPUBatch *batch, eGPUBuiltinShader shader_id, eGPUShaderConfig shader_cfg)
GPUBatch *batch, eGPUBuiltinShader shader_id, eGPUShaderConfig sh_cfg)
{
GPUShader *shader = GPU_shader_get_builtin_shader_with_config(shader_id, shader_cfg);
GPUShader *shader = GPU_shader_get_builtin_shader_with_config(shader_id, sh_cfg);
GPU_batch_program_set(batch, shader->program, shader->interface);
}