projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f921131
)
rbug: remove contexts from the list properly
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 16 Aug 2014 23:32:43 +0000
(
01:32
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 19 Aug 2014 10:20:17 +0000
(12:20 +0200)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/rbug/rbug_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/rbug/rbug_context.c
b/src/gallium/drivers/rbug/rbug_context.c
index 62fe543b761c37f3eeab60a9a19c7af99ea1903d..ca945902a33743453c15dd32cc7b7f22d69709e7 100644
(file)
--- a/
src/gallium/drivers/rbug/rbug_context.c
+++ b/
src/gallium/drivers/rbug/rbug_context.c
@@
-40,10
+40,12
@@
static void
rbug_destroy(struct pipe_context *_pipe)
{
+ struct rbug_screen *rb_screen = rbug_screen(_pipe->screen);
struct rbug_context *rb_pipe = rbug_context(_pipe);
struct pipe_context *pipe = rb_pipe->pipe;
- remove_from_list(&rb_pipe->list);
+ rbug_screen_remove_from_list(rb_screen, contexts, rb_pipe);
+
pipe_mutex_lock(rb_pipe->call_mutex);
pipe->destroy(pipe);
rb_pipe->pipe = NULL;