summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savageioctl.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-03-24 22:05:25 +0000
committerFelix Kuehling <[email protected]>2004-03-24 22:05:25 +0000
commitadf33a1c6f087075b65f0fbc756839481a38e10d (patch)
tree60bf7d9ccc97916691629c354a7a0d6167c61c62 /src/mesa/drivers/dri/savage/savageioctl.c
parent844585be4c392d7e06a8954e56c3756cafa74a39 (diff)
Make sure hardware culling is disabled for unfilled primitives,
points and lines.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savageioctl.c')
-rw-r--r--src/mesa/drivers/dri/savage/savageioctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savageioctl.c b/src/mesa/drivers/dri/savage/savageioctl.c
index 8b946195c3b..1384ce6099a 100644
--- a/src/mesa/drivers/dri/savage/savageioctl.c
+++ b/src/mesa/drivers/dri/savage/savageioctl.c
@@ -412,6 +412,10 @@ void savageFlushVerticesLocked( savageContextPtr imesa )
* in savagedma.c that emits drawing commands. Cliprects are not handled
* yet. */
if (buffer->used) {
+ /* State must be updated "per primitive" because hardware
+ * culling must be disabled for unfilled primitives, points
+ * and lines. */
+ savageEmitHwStateLocked (imesa);
savageFakeVertices (imesa, buffer);
}
}