summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <wallbraker@gmail.com>2011-03-13 12:52:42 +0100
committerJakob Bornecrantz <wallbraker@gmail.com>2011-03-13 12:52:42 +0100
commit15acbac674d7afaa11f3c30c50a61c6b49d811f7 (patch)
tree58366c6b077c0e8bc0647fd59788ea59d98d62bb
parentc24ed7ea1e865c913eec4a93e418265b0efd87bf (diff)
Make rbug compile with the latest mesa
-rw-r--r--src/context.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/context.c b/src/context.c
index fa754c2..e1eb3f2 100644
--- a/src/context.c
+++ b/src/context.c
@@ -120,9 +120,7 @@ static void flush(GtkWidget *widget, struct program *p)
{
(void)widget;
- rbug_send_context_flush(p->rbug.con, p->selected.id,
- PIPE_FLUSH_TEXTURE_CACHE |
- PIPE_FLUSH_RENDER_CACHE, NULL);
+ rbug_send_context_flush(p->rbug.con, p->selected.id, NULL);
context_start_info_action(p->selected.id, &p->selected.iter, FALSE, p);
}
@@ -134,9 +132,7 @@ static gboolean blocked(struct rbug_event *e, struct rbug_header *h, struct prog
(void)e;
- 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, NULL);
if (main_find_id(b->context, &iter, p))
context_start_info_action(b->context, &iter, TRUE, p);