summaryrefslogtreecommitdiff
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-21 19:03:38 -0600
committerBrian Paul <brianp@vmware.com>2010-10-21 19:03:38 -0600
commitb3de6e703d91da4f7f402f9ca33ccbbe31e97d99 (patch)
tree6360715050483a1e1b4f72d330fe799b0e8dd490 /src/mesa/main/vtxfmt.c
parent4f495ec20e25f0e23058f9a2b3981b544ee2b6a6 (diff)
mesa: plug in primitive restart function
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r--src/mesa/main/vtxfmt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index 13b1aa9e50..9236bf81a2 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -92,7 +92,10 @@ install_vtxfmt( struct _glapi_table *tab, const GLvertexformat *vfmt )
SET_Begin(tab, vfmt->Begin);
SET_End(tab, vfmt->End);
+ SET_PrimitiveRestartNV(tab, vfmt->PrimitiveRestartNV);
+
SET_Rectf(tab, vfmt->Rectf);
+
SET_DrawArrays(tab, vfmt->DrawArrays);
SET_DrawElements(tab, vfmt->DrawElements);
SET_DrawRangeElements(tab, vfmt->DrawRangeElements);