summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-06-06 03:21:20 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-06-06 03:21:20 +0100
commit8c14c3004eb79ae1fb54e7c7ff56c7f9df252c90 (patch)
treece81b2e513a76f5b4ffcc534b430a66a3eeefeab
parent898e51186387bce69c2a4881d20349e9b77e56e6 (diff)
Always auto flush on blocked event
-rw-r--r--src/context.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/context.c b/src/context.c
index a90fc02..590bb9a 100644
--- a/src/context.c
+++ b/src/context.c
@@ -118,11 +118,10 @@ static gboolean blocked(struct rbug_event *e, struct rbug_header *h, struct prog
GtkTreeIter iter;
(void)e;
- /* auto flush on break */
- if (b->block & RBUG_BLOCK_AFTER)
- rbug_send_context_flush(p->rbug.con, b->context,
- PIPE_FLUSH_TEXTURE_CACHE |
- PIPE_FLUSH_RENDER_CACHE, NULL);
+
+ rbug_send_context_flush(p->rbug.con, b->context,
+ PIPE_FLUSH_TEXTURE_CACHE |
+ PIPE_FLUSH_RENDER_CACHE, NULL);
if (main_find_id(b->context, &iter, p))
context_start_info_action(b->context, &iter, p);