id, glhd: Unbreak texturing.

Argfl.
This commit is contained in:
Corbin Simpson
2010-06-23 11:25:52 -07:00
parent 9526305834
commit 666fdc01c4
2 changed files with 2 additions and 0 deletions
@@ -127,6 +127,7 @@ galahad_sampler_view_create(struct galahad_context *glhd_context,
glhd_view->base.texture = NULL;
pipe_resource_reference(&glhd_view->base.texture, glhd_resource->resource);
glhd_view->base.context = glhd_context->pipe;
glhd_view->sampler_view = view;
return &glhd_view->base;
error:
@@ -127,6 +127,7 @@ identity_sampler_view_create(struct identity_context *id_context,
id_view->base.texture = NULL;
pipe_resource_reference(&id_view->base.texture, id_resource->resource);
id_view->base.context = id_context->pipe;
id_view->sampler_view = view;
return &id_view->base;
error: