Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-10 03:02:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-10 03:02:06 +0300
commit16d7967c2b404cbe6719192e073c7685376f6ab1 (patch)
tree67cce46fa7b7fafccf7a7ddc9ed450f0afd18e2e /source/blender/gpu/GPU_batch.h
parent66c23ea2b4a4eb66490a8b9b6c57ed60ec934a42 (diff)
Cleanup: use shorter name for shader config
The struct name is descriptive, this isn't going to be confused with other variables.
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r--source/blender/gpu/GPU_batch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index f10202f5642..459a997b4f4 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -125,7 +125,7 @@ void GPU_batch_program_set_shader(GPUBatch *, GPUShader *shader);
void GPU_batch_program_set_builtin(
GPUBatch *batch, eGPUBuiltinShader shader_id);
void GPU_batch_program_set_builtin_with_config(
- GPUBatch *batch, eGPUBuiltinShader shader_id, eGPUShaderConfig shader_cfg);
+ GPUBatch *batch, eGPUBuiltinShader shader_id, eGPUShaderConfig sh_cfg);
/* Entire batch draws with one shader program, but can be redrawn later with another program. */
/* Vertex shader's inputs must be compatible with the batch's vertex format. */