From: Brian Paul Date: Sat, 13 Feb 2010 20:51:38 +0000 (-0700) Subject: mesa: copy frag coord layout fields too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b947b1d433ec5a847a3071c0daac7918924f3f49;p=mesa.git mesa: copy frag coord layout fields too --- diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index aaf5f96e2a5..18ef6d5ccfa 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -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: