summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-13 13:51:38 -0700
committerBrian Paul <brianp@vmware.com>2010-02-13 13:51:38 -0700
commitb947b1d433ec5a847a3071c0daac7918924f3f49 (patch)
tree4c821459ca095aad5ffbfe06cf847693d613addb /src
parent46f788c2e51630915e5a8cef074daeff8f7fc8cc (diff)
mesa: copy frag coord layout fields too
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index aaf5f96e2a..18ef6d5ccf 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: