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:
authorMike Erwin <significant.bit@gmail.com>2016-10-17 00:04:17 +0300
committerMike Erwin <significant.bit@gmail.com>2016-10-17 00:48:35 +0300
commit36d2365ac312ad3cfe6de3a018d1c3bcdd84cc94 (patch)
tree849c49969e6510b3d74ad486543b728bd2dd85ca /source/blender/gpu/GPU_immediate.h
parent9cdf4afb76b1b5627bcad637dbd0d2452c472caf (diff)
OpenGL: new immUniformThemeColorShadeAlpha function
Plus some naming cleanup. Supports T49043
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
-rw-r--r--source/blender/gpu/GPU_immediate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h
index 1b4f26a7640..0cb9d7929c9 100644
--- a/source/blender/gpu/GPU_immediate.h
+++ b/source/blender/gpu/GPU_immediate.h
@@ -41,6 +41,7 @@ void immBindBuiltinProgram(GPUBuiltinShader shader_id);
/*
* Extend immUniformColor to take Blender's themes
*/
-void immUniformThemeColor(int colorid);
-void immUniformThemeColorShade(int colorid, int offset);
-void immUniformThemeColorBlendShade(int colorid1, int colorid2, float fac, int offset);
+void immUniformThemeColor(int color_id);
+void immUniformThemeColorShade(int color_id, int offset);
+void immUniformThemeColorShadeAlpha(int color_id, int color_offset, int alpha_offset);
+void immUniformThemeColorBlendShade(int color_id1, int color_id2, float fac, int offset);