summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-04-18 17:55:23 -0600
committerBrian Paul <[email protected]>2010-04-18 18:02:42 -0600
commit5d3d63d45a037fdf603ddcff88da635c3ce8075e (patch)
treeba14ab292129e2680cffcb7ec2c6ce911998deb7 /src/mesa/state_tracker/st_manager.c
parent073048c872ea5893ad0c39b32ca171893c17148b (diff)
st/mesa: remove st_texture_object::pipe field
Just pass the pipe context to st_get_texture_sampler_view() as is done for st_get_renderbuffer_sampler_view().
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r--src/mesa/state_tracker/st_manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 26f9554c9ec..5cf17fe530a 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -556,7 +556,6 @@ st_context_teximage(struct st_context_iface *stctxi, enum st_texture_type target
_mesa_clear_texture_image(ctx, texImage);
}
- stObj->pipe = st->pipe;
pipe_resource_reference(&stImage->pt, tex);
_mesa_dirty_texobj(ctx, texObj, GL_TRUE);