[Bf-blender-cvs] [586a044d83e] master: TexturePaint: Fix Shader Compilation

Jeroen Bakker noreply at git.blender.org
Tue Jun 25 08:08:32 CEST 2019


Commit: 586a044d83e49b09f1c880f718ae3af187a969b2
Author: Jeroen Bakker
Date:   Tue Jun 25 08:07:50 2019 +0200
Branches: master
https://developer.blender.org/rB586a044d83e49b09f1c880f718ae3af187a969b2

TexturePaint: Fix Shader Compilation

===================================================================

M	source/blender/draw/modes/paint_texture_mode.c

===================================================================

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},
     });



More information about the Bf-blender-cvs mailing list