projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba81a37
)
rbug: fix a crash in sampler_view_destroy caused by incorrect context
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 16 Aug 2014 23:36:11 +0000
(
01:36
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 19 Aug 2014 10:20:18 +0000
(12:20 +0200)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/rbug/rbug_objects.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/rbug/rbug_objects.c
b/src/gallium/drivers/rbug/rbug_objects.c
index c64b14c183287279b8937d018a6d9b29342a7a9e..2d80164d3bf1c035c4534d800aefffb36a43f505 100644
(file)
--- a/
src/gallium/drivers/rbug/rbug_objects.c
+++ b/
src/gallium/drivers/rbug/rbug_objects.c
@@
-137,7
+137,7
@@
rbug_sampler_view_create(struct rbug_context *rb_context,
rb_view->base.reference.count = 1;
rb_view->base.texture = NULL;
pipe_resource_reference(&rb_view->base.texture, &rb_resource->base);
- rb_view->base.context =
rb_context->pip
e;
+ rb_view->base.context =
&rb_context->bas
e;
rb_view->sampler_view = view;
return &rb_view->base;