gallium: fix typo in LINE() macro (replace i+1 with i1 var)

We were sometimes referencing an invalid vertex.
Fixes progs/trivial/line-clip.c test among others.
This commit is contained in:
Brian Paul
2008-08-20 10:27:30 -06:00
parent 34cffce334
commit f6abdb2043
+1 -1
View File
@@ -238,7 +238,7 @@ void draw_pipeline_run( struct draw_context *draw,
do_line( draw, \
flags, \
verts + stride * ((i0) & ~DRAW_PIPE_FLAG_MASK), \
verts + stride * (i+1))
verts + stride * (i1))
#define POINT(i0) \
do_point( draw, \