st/mesa: use _mesa_clone_fragment_program()
authorBrian Paul <brianp@vmware.com>
Mon, 15 Feb 2010 01:50:49 +0000 (18:50 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 15 Feb 2010 04:57:14 +0000 (21:57 -0700)
src/mesa/state_tracker/st_cb_drawpixels.c

index af2647fea38174c2548cf01b7fb04bcd07fd07d0..fe28123d2766325273e8e004cd982b9b44c828b2 100644 (file)
@@ -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