From b947b1d433ec5a847a3071c0daac7918924f3f49 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 13 Feb 2010 13:51:38 -0700 Subject: mesa: copy frag coord layout fields too --- src/mesa/shader/program.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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: -- cgit v1.2.3