From 33681bcf5672ed7b8ffff52c5d88ba3d28a8349d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 14 Feb 2010 18:50:49 -0700 Subject: [PATCH] st/mesa: use _mesa_clone_fragment_program() --- src/mesa/state_tracker/st_cb_drawpixels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2