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:
authorJonathan Merritt <jmerritt>2018-12-24 14:05:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-12-24 14:07:12 +0300
commit410142caffd1df20463925251f4925d5f105f23d (patch)
tree1ecd8a6faf9bd91d7500c52def338dc745f5d72c
parent28520e9652df2264bacf1f1f25ab657384d8817a (diff)
Fix T59722: stencil texture overlay not working on macOS.
-rw-r--r--source/blender/editors/sculpt_paint/paint_cursor.c2
1 files changed, 1 insertions, 1 deletions
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);