projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d29af
)
galahad: Point to the galahad objects from the galahad sampler view.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Jul 2012 17:30:25 +0000
(18:30 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 6 Jul 2012 17:35:32 +0000
(18:35 +0100)
And not the wraped driver's objects.
src/gallium/drivers/galahad/glhd_objects.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/galahad/glhd_objects.c
b/src/gallium/drivers/galahad/glhd_objects.c
index b50d85655e8e453ab80c35349d419e08d0e104fc..badd2e1c1b7586c6c1219478583119ade5878b8d 100644
(file)
--- a/
src/gallium/drivers/galahad/glhd_objects.c
+++ b/
src/gallium/drivers/galahad/glhd_objects.c
@@
-127,8
+127,8
@@
galahad_sampler_view_create(struct galahad_context *glhd_context,
glhd_view->base = *view;
glhd_view->base.reference.count = 1;
glhd_view->base.texture = NULL;
- pipe_resource_reference(&glhd_view->base.texture,
glhd_resource->resourc
e);
- glhd_view->base.context =
glhd_context->pip
e;
+ pipe_resource_reference(&glhd_view->base.texture,
&glhd_resource->bas
e);
+ glhd_view->base.context =
&glhd_context->bas
e;
glhd_view->sampler_view = view;
return &glhd_view->base;