diff options
Diffstat (limited to 'src/mesa/drivers/dri/savage/savageioctl.c')
-rw-r--r-- | src/mesa/drivers/dri/savage/savageioctl.c | 4 |
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); } } |