projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb8dd1
)
st: Update for renamed sampler/texture state setters.
author
Michal Krol
<michal@vmware.com>
Tue, 1 Dec 2009 07:44:18 +0000
(08:44 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 1 Dec 2009 08:52:27 +0000
(09:52 +0100)
src/mesa/state_tracker/st_cb_drawpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_drawpixels.c
b/src/mesa/state_tracker/st_cb_drawpixels.c
index a68a29e126edf2a1247986c8be5fd6975b6096d3..03617b7a939e5b0858476c92367590149f327b7b 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/
src/mesa/state_tracker/st_cb_drawpixels.c
@@
-585,10
+585,10
@@
draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z,
struct pipe_texture *textures[2];
textures[0] = pt;
textures[1] = st->pixel_xfer.pixelmap_texture;
- pipe->set_sampler_textures(pipe, 2, textures);
+ pipe->set_
fragment_
sampler_textures(pipe, 2, textures);
}
else {
- pipe->set_sampler_textures(pipe, 1, &pt);
+ pipe->set_
fragment_
sampler_textures(pipe, 1, &pt);
}
/* Compute window coords (y=0=bottom) with pixel zoom.