summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nouveau/nouveau_gldefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nouveau/nouveau_gldefs.h')
-rw-r--r--src/mesa/pipe/nouveau/nouveau_gldefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/nouveau/nouveau_gldefs.h b/src/mesa/pipe/nouveau/nouveau_gldefs.h
index 8ba3bdef64..e1015c93a2 100644
--- a/src/mesa/pipe/nouveau/nouveau_gldefs.h
+++ b/src/mesa/pipe/nouveau/nouveau_gldefs.h
@@ -189,7 +189,7 @@ nvgl_primitive(unsigned prim) {
case PIPE_PRIM_POLYGON:
return 0x000a;
default:
- assert(0);
+ return 0x0001;
}
}