aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorPekka Paalanen <[email protected]>2008-11-30 20:40:55 +0200
committerPekka Paalanen <[email protected]>2008-11-30 20:40:55 +0200
commitbb29d066dc5c5188bafadf7b702d44ed571e855e (patch)
treee6bb62fabdfea65ef6aa4992f12f0ae566b6c0da /src/gallium/drivers/nouveau
parent830e4a6ec3fb70c830d0c59eae5edc827b546eae (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_gldefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_gldefs.h b/src/gallium/drivers/nouveau/nouveau_gldefs.h
index e1015c93a27..ff97aaa9af0 100644
--- a/src/gallium/drivers/nouveau/nouveau_gldefs.h
+++ b/src/gallium/drivers/nouveau/nouveau_gldefs.h
@@ -189,7 +189,7 @@ nvgl_primitive(unsigned prim) {
case PIPE_PRIM_POLYGON:
return 0x000a;
default:
- return 0x0001;
+ return 0;
}
}