summaryrefslogtreecommitdiff
path: root/src/i830_uxa.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-28 21:49:38 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-30 16:23:22 +0100
commit2de109e95757c40c9570492be917369f53e0b253 (patch)
treeecfae921c5a6a4ccb4c809ad083052286a2dee12 /src/i830_uxa.c
parent75291e9b42861aaa8df108a4a31f53dc5ddc47e2 (diff)
i915: Don't re-emit vertex size unless it has changed.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 90c74a43149ec72bef64fb7e64b812294bda69a5) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/i830_uxa.c')
-rw-r--r--src/i830_uxa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_uxa.c b/src/i830_uxa.c
index dacc7dbf..a7f50e33 100644
--- a/src/i830_uxa.c
+++ b/src/i830_uxa.c
@@ -1089,6 +1089,7 @@ Bool i830_uxa_init(ScreenPtr screen)
intel->prim_offset = 0;
intel->vertex_count = 0;
intel->floats_per_vertex = 0;
+ intel->last_floats_per_vertex = 0;
intel->vertex_bo = NULL;
/* Solid fill */