Commit: 410142caffd1df20463925251f4925d5f105f23d
Author: Jonathan Merritt
Date:   Mon Dec 24 12:05:58 2018 +0100
Branches: master
https://developer.blender.org/rB410142caffd1df20463925251f4925d5f105f23d

Fix T59722: stencil texture overlay not working on macOS.

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

M       source/blender/editors/sculpt_paint/paint_cursor.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c 
b/source/blender/editors/sculpt_paint/paint_cursor.c
index 6a2a374f87d..75324f46cc6 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -692,7 +692,7 @@ static void paint_draw_tex_overlay(
                }
 
                /* draw textured quad */
-               immUniform1i("image", GL_TEXTURE0);
+               immUniform1i("image", 0);
 
                immBegin(GPU_PRIM_TRI_FAN, 4);
                immAttr2f(texCoord, 0.0f, 0.0f);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to