Nouveau: nv{10,20} set_primitive API fix
authorPekka Paalanen <pq@iki.fi>
Sun, 30 Nov 2008 18:40:55 +0000 (20:40 +0200)
committerPekka Paalanen <pq@iki.fi>
Sun, 30 Nov 2008 18:40:55 +0000 (20:40 +0200)
commitbb29d066dc5c5188bafadf7b702d44ed571e855e
treee6bb62fabdfea65ef6aa4992f12f0ae566b6c0da
parent830e4a6ec3fb70c830d0c59eae5edc827b546eae
Nouveau: nv{10,20} set_primitive API fix

Also changes nvgl_primitive() to return zero, i.e. error, on unknown
primitive.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nouveau/nouveau_gldefs.h
src/gallium/drivers/nv10/nv10_prim_vbuf.c
src/gallium/drivers/nv20/nv20_prim_vbuf.c