summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-14 18:50:49 -0700
committerBrian Paul <brianp@vmware.com>2010-02-14 21:57:14 -0700
commit33681bcf5672ed7b8ffff52c5d88ba3d28a8349d (patch)
tree424d309b3d2e4c00c1eb7193b2f6617ca11d958b /src/mesa/state_tracker
parent630b83be84f0bd9ce15cf9f09250a462bac2aa8b (diff)
st/mesa: use _mesa_clone_fragment_program()
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index af2647fea3..fe28123d27 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -113,7 +113,7 @@ combined_drawpix_fragment_program(GLcontext *ctx)
*/
if (is_passthrough_program(&st->fp->Base)) {
stfp = (struct st_fragment_program *)
- _mesa_clone_program(ctx, &st->pixel_xfer.program->Base.Base);
+ _mesa_clone_fragment_program(ctx, &st->pixel_xfer.program->Base);
}
else {
#if 0