Cleanup: use shorter name for shader config
[blender.git] / source / blender / gpu / intern / gpu_batch.c
index bd4fa25c30690df731c15989ada6fadb4e2a07c7..9738b303700c03204f15c18e25d902dea60aae0b 100644 (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);
 }