mesa: copy frag coord layout fields too
authorBrian Paul <brianp@vmware.com>
Sat, 13 Feb 2010 20:51:38 +0000 (13:51 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 13 Feb 2010 20:51:38 +0000 (13:51 -0700)
src/mesa/shader/program.c

index aaf5f96e2a58be81fa63cd6af1c489f939907fb5..18ef6d5ccfa651c9fec340473b77455973305a98 100644 (file)
@@ -505,6 +505,8 @@ _mesa_clone_program(GLcontext *ctx, const struct gl_program *prog)
          struct gl_fragment_program *fpc = (struct gl_fragment_program *) clone;
          fpc->FogOption = fp->FogOption;
          fpc->UsesKill = fp->UsesKill;
+         fpc->OriginUpperLeft = fp->OriginUpperLeft;
+         fpc->PixelCenterInteger = fp->PixelCenterInteger;
       }
       break;
    default: