summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-01 14:14:06 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-01 14:51:24 +0100
commit4b1377b2403bcb34081f91991f1ffde06df17af1 (patch)
treebea379d2cbb3137144f7a6bc04ae11ffb1453fa8 /src
parentcc85573a9f3d976b70669a53403ce7355ad84394 (diff)
draw: flush between pt/non-pt modes
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index fc9304197a..df306a5fa4 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -167,6 +167,10 @@ draw_pt_arrays(struct draw_context *draw,
frontend = draw->pt.front.vcache;
#endif
+ /* XXX: need to flush to get prim_vbuf.c to release its allocation??
+ */
+ draw_do_flush( draw, DRAW_FLUSH_BACKEND );
+
frontend->prepare( frontend, middle );
frontend->run( frontend,