diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-05 11:59:46 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-05 12:01:27 +0300 |
commit | 1f6037c887863e67a5a8b211738e04fd6dce16ad (patch) | |
tree | 5d9df251301736cb3b0038b9e08fb9ae45ebaac3 /source/blender/gpu/GPU_immediate.h | |
parent | 2f700b828049fe5b2d1d0f3d4bc24f37de59e1a2 (diff) |
Fix T50976: Blender UI problems with certain theme files.
Core of the issue was that some of our Theme colors are RGB-only, but
were loaded as RGBA.
Note that tracking all possible cases is pretty impossible, so we'll
have to tackle those as they get reported am afraid.
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
-rw-r--r-- | source/blender/gpu/GPU_immediate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h index 35964a81030..28522da5f28 100644 --- a/source/blender/gpu/GPU_immediate.h +++ b/source/blender/gpu/GPU_immediate.h @@ -47,6 +47,7 @@ void immBindBuiltinProgram(GPUBuiltinShader shader_id); * Extend immUniformColor to take Blender's themes */ void immUniformThemeColor(int color_id); +void immUniformThemeColor3(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); |