summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-18 17:38:49 -0600
committerBrian Paul <brianp@vmware.com>2010-04-18 18:02:42 -0600
commitef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 (patch)
tree7badb318748dc5049fd5870490803e2f67b00103 /src/mesa/state_tracker/st_cb_drawpixels.c
parent8a7ea577ac924016db5f86cbb408dd8e218c6782 (diff)
st/mesa: s/st_sampler_view_from_texture/st_create_texture_sampler_view/
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index 955e371398..2c18ded2ab 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -834,7 +834,7 @@ st_DrawPixels(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height,
struct pipe_resource *pt
= make_texture(st, width, height, format, type, unpack, pixels);
if (pt) {
- struct pipe_sampler_view *sv = st_sampler_view_from_texture(st->pipe, pt);
+ struct pipe_sampler_view *sv = st_create_texture_sampler_view(st->pipe, pt);
if (sv) {
draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
@@ -1041,7 +1041,7 @@ st_CopyPixels(GLcontext *ctx, GLint srcx, GLint srcy,
if (!pt)
return;
- sv = st_sampler_view_from_texture(st->pipe, pt);
+ sv = st_create_texture_sampler_view(st->pipe, pt);
if (!sv) {
pipe_resource_reference(&pt, NULL);
return;