[Bf-blender-cvs] [56e6cccefb0] lanpr-under-gp: LineArt: Fix compiler warnings

Antonio Vazquez noreply at git.blender.org
Wed Jul 29 13:34:13 CEST 2020


Commit: 56e6cccefb065370a1e29fc01480015465e7a139
Author: Antonio Vazquez
Date:   Wed Jul 29 13:34:03 2020 +0200
Branches: lanpr-under-gp
https://developer.blender.org/rB56e6cccefb065370a1e29fc01480015465e7a139

LineArt: Fix compiler warnings

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

M	source/blender/editors/lineart/lineart_cpu.c

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

diff --git a/source/blender/editors/lineart/lineart_cpu.c b/source/blender/editors/lineart/lineart_cpu.c
index 80f8c2b820a..8a9f3997760 100644
--- a/source/blender/editors/lineart/lineart_cpu.c
+++ b/source/blender/editors/lineart/lineart_cpu.c
@@ -1869,8 +1869,8 @@ static int lineart_triangle_line_imagespace_intersection_v2(SpinLock *UNUSED(spl
   return 1;
 }
 
-static bool *lineart_triangle_share_edge(const LineartRenderTriangle *l,
-                                         const LineartRenderTriangle *r)
+static bool lineart_triangle_share_edge(const LineartRenderTriangle *l,
+                                        const LineartRenderTriangle *r)
 {
   if (l->rl[0]->tl == r || l->rl[0]->tr == r || l->rl[1]->tl == r || l->rl[1]->tr == r ||
       l->rl[1]->tl == r || l->rl[1]->tr == r) {



More information about the Bf-blender-cvs mailing list