From 9f475db6c984c4333ebca3ba1749831ca1bff04e Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Fri, 7 Aug 2020 15:14:23 +0200 Subject: Fix failing assert when entering Texture Paint mode Was unbinding the shader twice. --- source/blender/editors/sculpt_paint/paint_cursor.c | 1 - 1 file changed, 1 deletion(-) (limited to '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 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) -- cgit v1.2.3