From: Brian Paul Date: Mon, 15 Feb 2010 01:50:49 +0000 (-0700) Subject: st/mesa: use _mesa_clone_fragment_program() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33681bcf5672ed7b8ffff52c5d88ba3d28a8349d;p=mesa.git st/mesa: use _mesa_clone_fragment_program() --- diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index af2647fea38..fe28123d276 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