summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug/rbug_objects.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-12 15:33:40 +0100
committerJakob Bornecrantz <[email protected]>2010-05-12 20:15:23 +0100
commit73684216ba49d069cd5b4ee5168c1e21538e237f (patch)
tree377c8dab154079a59173771dfd34b734090ea911 /src/gallium/drivers/rbug/rbug_objects.c
parent21b668e11e3e0e84d476fea9b8d3198a610d71c8 (diff)
rbug: Fix sampler views and surfaces in context info
Diffstat (limited to 'src/gallium/drivers/rbug/rbug_objects.c')
-rw-r--r--src/gallium/drivers/rbug/rbug_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/rbug/rbug_objects.c b/src/gallium/drivers/rbug/rbug_objects.c
index d963baab417..0979fcff957 100644
--- a/src/gallium/drivers/rbug/rbug_objects.c
+++ b/src/gallium/drivers/rbug/rbug_objects.c
@@ -133,7 +133,7 @@ rbug_sampler_view_create(struct rbug_context *rb_context,
rb_view->base = *view;
rb_view->base.reference.count = 1;
rb_view->base.texture = NULL;
- pipe_resource_reference(&rb_view->base.texture, rb_resource->resource);
+ pipe_resource_reference(&rb_view->base.texture, &rb_resource->base);
rb_view->base.context = rb_context->pipe;
rb_view->sampler_view = view;