summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-05-30 18:11:49 -0700
committerKeith Whitwell <keithw@vmware.com>2009-06-30 14:20:21 +0100
commit038c53d89a0302f567ffbac4f1b77e7d0ba3558c (patch)
treefcc078397ac462c9020b843aa0a5f5440e0fe28f
parent9ecbd6bb1ecb9ae05e3eeec448673ba78dc21e7c (diff)
st_vbo: trivial/lineloop works
-rw-r--r--src/mesa/state_tracker/st_vbo/st_vbo_exec_prims.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_vbo/st_vbo_exec_prims.c b/src/mesa/state_tracker/st_vbo/st_vbo_exec_prims.c
index 9805cb5521..12adc6ae97 100644
--- a/src/mesa/state_tracker/st_vbo/st_vbo_exec_prims.c
+++ b/src/mesa/state_tracker/st_vbo/st_vbo_exec_prims.c
@@ -293,6 +293,7 @@ static void emit_lineloop_end_slot_one( struct st_vbo_exec_context *exec )
}
emit_vertex( exec, &dest, 0 );
+ end_prim( exec );
}
@@ -306,6 +307,7 @@ static void emit_lineloop_end_slot_two( struct st_vbo_exec_context *exec )
}
emit_vertex( exec, &dest, 0 );
+ end_prim( exec );
}