aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-13 13:51:38 -0700
committerBrian Paul <[email protected]>2010-02-13 13:51:38 -0700
commitb947b1d433ec5a847a3071c0daac7918924f3f49 (patch)
tree4c821459ca095aad5ffbfe06cf847693d613addb
parent46f788c2e51630915e5a8cef074daeff8f7fc8cc (diff)
mesa: copy frag coord layout fields too
-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 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: