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:
authorJulian Eisel <julian@blender.org>2020-08-07 16:14:23 +0300
committerJulian Eisel <julian@blender.org>2020-08-07 16:17:52 +0300
commit9f475db6c984c4333ebca3ba1749831ca1bff04e (patch)
treea5dd089e16a1195ae9f15bd60a621c9934fdd8eb /source/blender/editors/sculpt_paint/paint_cursor.c
parent68c00e6f8f2612d76f95fb7744cb9cfbfcfacdf8 (diff)
Fix failing assert when entering Texture Paint mode
Was unbinding the shader twice.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_cursor.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_cursor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c
index f0d01305e96..ba32b53a9e0 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -1413,7 +1413,6 @@ static void paint_draw_2D_view_brush_cursor(PaintCursorContext *pcontext)
pcontext->final_radius,
40);
- immUnbindProgram();
}
static void paint_draw_legacy_3D_view_brush_cursor(PaintCursorContext *pcontext)