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:
authorJeroen Bakker <j.bakker@atmind.nl>2019-06-25 09:07:50 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2019-06-25 09:07:50 +0300
commit586a044d83e49b09f1c880f718ae3af187a969b2 (patch)
tree7693c59ae3d93c68c4538c3cabfc1de143f6aaf8 /source/blender/draw
parent40a396792d77b01189d67afbe91b61b05d0bd953 (diff)
TexturePaint: Fix Shader Compilation
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/modes/paint_texture_mode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/modes/paint_texture_mode.c b/source/blender/draw/modes/paint_texture_mode.c
index 82c11a278de..6c2f170a220 100644
--- a/source/blender/draw/modes/paint_texture_mode.c
+++ b/source/blender/draw/modes/paint_texture_mode.c
@@ -173,7 +173,9 @@ static void PAINT_TEXTURE_engine_init(void *vedata)
datatoc_common_view_lib_glsl,
datatoc_paint_texture_vert_glsl,
NULL},
- .frag = (const char *[]){datatoc_paint_texture_frag_glsl, NULL},
+ .frag = (const char *[]){datatoc_common_colormanagement_lib_glsl,
+ datatoc_paint_texture_frag_glsl,
+ NULL},
.defs = (const char *[]){sh_cfg_data->def, "#define TEXTURE_PAINT_MASK\n", NULL},
});