diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-18 17:55:23 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-18 18:02:42 -0600 |
commit | 5d3d63d45a037fdf603ddcff88da635c3ce8075e (patch) | |
tree | ba14ab292129e2680cffcb7ec2c6ce911998deb7 /src/mesa/state_tracker/st_cb_eglimage.c | |
parent | 073048c872ea5893ad0c39b32ca171893c17148b (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_cb_eglimage.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_eglimage.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_eglimage.c b/src/mesa/state_tracker/st_cb_eglimage.c index 3c4fe32090..a924f87223 100644 --- a/src/mesa/state_tracker/st_cb_eglimage.c +++ b/src/mesa/state_tracker/st_cb_eglimage.c @@ -126,7 +126,6 @@ st_bind_surface(GLcontext *ctx, GLenum target, texImage->TexFormat = st_pipe_format_to_mesa_format(ps->format); _mesa_set_fetch_functions(texImage, 2); - stObj->pipe = ctx->st->pipe; /* FIXME create a non-default sampler view from the pipe_surface? */ pipe_resource_reference(&stImage->pt, ps->texture); |